Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 113.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 246.4 MB, free: 10.83 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00213/0.002131, allocations: 59.25 kB / 306.5 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1199, allocations: 50.54 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006496/0.1265, allocations: 4.503 MB / 361.5 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.1295, allocations: 1.273 MB / 362.8 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007997/0.1304, allocations: 8 kB / 362.8 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007088/0.1311, allocations: 123.1 kB / 362.9 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008686/0.132, allocations: 166.7 kB / 363.1 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.1327, allocations: 187.8 kB / 363.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.1339, allocations: 0.7668 MB / 364 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.1345, allocations: 266.5 kB / 364.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006379/0.1351, allocations: 294.9 kB / 364.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.1356, allocations: 330.5 kB / 364.9 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.141e-05/0.1357, allocations: 64 kB / 364.9 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1358, allocations: 68 kB / 365 MB, free: 6.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1359, allocations: 147.5 kB / 365.2 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000301/0.1363, allocations: 350.2 kB / 365.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007336/0.137, allocations: 0.7398 MB / 366.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.137, allocations: 0 / 366.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.137, allocations: 0 / 366.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.137, allocations: 0 / 366.2 MB, free: 5.117 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001652/0.1387, allocations: 0.9703 MB / 367.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1387, allocations: 8.031 kB / 367.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.139, allocations: 92.08 kB / 367.3 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006161/0.1397, allocations: 421.8 kB / 367.7 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.1397, allocations: 41.69 kB / 367.8 MB, free: 3.508 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.947e-05/0.1398, allocations: 52.38 kB / 367.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1408, allocations: 0.5535 MB / 368.4 MB, free: 2.891 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.1409, allocations: 3.906 kB / 368.4 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.1409, allocations: 28 kB / 368.4 MB, free: 2.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1409, allocations: 12 kB / 368.4 MB, free: 2.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009323/0.1419, allocations: 421 kB / 368.8 MB, free: 2.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.1449, allocations: 1.828 MB / 370.6 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2147/0.3596, allocations: 0.521 MB / 371.2 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.3609, allocations: 419.4 kB / 371.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.3609, allocations: 10.73 kB / 371.6 MB, free: 20.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005999/0.3615, allocations: 297.5 kB / 371.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.284e-06/0.3615, allocations: 0.9062 kB / 371.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.00428/0.3658, allocations: 1.313 MB / 373.2 MB, free: 19.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.3659, allocations: 247.5 kB / 373.4 MB, free: 19.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.3667, allocations: 437.1 kB / 373.9 MB, free: 19.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.3667, allocations: 32.45 kB / 373.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.367, allocations: 320.2 kB / 374.2 MB, free: 19.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.3671, allocations: 140.9 kB / 374.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.3672, allocations: 91.23 kB / 374.4 MB, free: 19.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3674, allocations: 359.9 kB / 374.8 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.3677, allocations: 150.6 kB / 374.9 MB, free: 18.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.3681, allocations: 323.2 kB / 375.2 MB, free: 18.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007141/0.3689, allocations: 451.9 kB / 375.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.3689, allocations: 1.344 kB / 375.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002221/0.3711, allocations: 0.7822 MB / 376.5 MB, free: 17.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.3712, allocations: 6.469 kB / 376.5 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.3712, allocations: 8.5 kB / 376.5 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007921/0.372, allocations: 222.9 kB / 376.7 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.3723, allocations: 68.86 kB / 376.8 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004733/0.377, allocations: 3.127 MB / 379.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005749/0.3776, allocations: 80.17 kB / 380 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.3777, allocations: 18.97 kB / 380 MB, free: 15.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002591/0.3779, allocations: 187.5 kB / 380.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/0.378, allocations: 60.62 kB / 380.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.034e-05/0.3781, allocations: 51.48 kB / 380.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3781, allocations: 4.344 kB / 380.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3781, allocations: 0 / 380.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.3782, allocations: 6.469 kB / 380.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.3804, allocations: 1.281 MB / 381.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3805, allocations: 3.828 kB / 381.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.3807, allocations: 35.8 kB / 381.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000647/0.3813, allocations: 218.5 kB / 381.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.3814, allocations: 7.703 kB / 381.8 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0041/0.3855, allocations: 3.053 MB / 384.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3855, allocations: 5.438 kB / 384.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.3876, allocations: 0.9281 MB / 385.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.3877, allocations: 129.5 kB / 385.9 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.728e-05/0.3878, allocations: 12.22 kB / 386 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003661/0.3882, allocations: 45.91 kB / 386 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3883, allocations: 35.45 kB / 386 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3883, allocations: 8.234 kB / 386 MB, free: 11.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003815/0.3887, allocations: 314.7 kB / 386.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3887, allocations: 0 / 386.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007654/0.3895, allocations: 190.5 kB / 386.5 MB, free: 11.78 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.3897, allocations: 107.2 kB / 386.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.3914, allocations: 0.6845 MB / 387.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.3914, allocations: 1.25 kB / 387.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007985/0.3922, allocations: 428.1 kB / 387.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.3928, allocations: 84.97 kB / 387.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.3945, allocations: 1.153 MB / 389 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3949, allocations: 0.8672 MB / 389.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002429/0.3951, allocations: 49.12 kB / 389.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.3952, allocations: 38.97 kB / 389.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3952, allocations: 0 / 389.9 MB, free: 9.664 MB / 302.1 MB Notification: Performance of Templates: time 0.02082/0.4161, allocations: 7.533 MB / 397.5 MB, free: 6.535 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches