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.001483/0.001483, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 60.44 kB / 306.3 MB, free: 1.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1111, allocations: 50.54 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00665/0.1178, allocations: 4.503 MB / 361.3 MB, free: 10 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.1212, allocations: 1.277 MB / 362.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005997/0.1219, allocations: 12 kB / 362.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.1225, allocations: 115.1 kB / 362.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005954/0.1231, allocations: 170.6 kB / 362.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.1236, allocations: 191.8 kB / 363.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007432/0.1244, allocations: 0.7316 MB / 363.8 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004055/0.1248, allocations: 243.4 kB / 364 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.1252, allocations: 266.9 kB / 364.3 MB, free: 7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.1256, allocations: 314.5 kB / 364.6 MB, free: 6.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.086e-05/0.1257, allocations: 40 kB / 364.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1259, allocations: 52 kB / 364.7 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.126, allocations: 127.4 kB / 364.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.1263, allocations: 318.3 kB / 365.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000629/0.127, allocations: 0.7242 MB / 365.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.127, allocations: 0 / 365.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.127, allocations: 3.938 kB / 365.9 MB, free: 5.434 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.127, allocations: 0 / 365.9 MB, free: 5.434 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.00167/0.1287, allocations: 0.9586 MB / 366.8 MB, free: 4.426 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1287, allocations: 16.03 kB / 366.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.129, allocations: 88.08 kB / 366.9 MB, free: 4.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.1295, allocations: 417.8 kB / 367.3 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.1296, allocations: 37.69 kB / 367.4 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-05/0.1297, allocations: 52.38 kB / 367.4 MB, free: 3.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009752/0.1306, allocations: 0.5574 MB / 368 MB, free: 3.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1307, allocations: 3.906 kB / 368 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.279e-05/0.1307, allocations: 24 kB / 368 MB, free: 3.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1307, allocations: 16 kB / 368 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008662/0.1316, allocations: 417 kB / 368.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.1347, allocations: 1.847 MB / 370.3 MB, free: 0.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/0.1357, allocations: 0.5177 MB / 370.8 MB, free: 276 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1898/0.3255, allocations: 422.2 kB / 371.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.3256, allocations: 8.016 kB / 371.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000715/0.3263, allocations: 298.5 kB / 371.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.535e-06/0.3264, allocations: 0 / 371.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=41): time 0.004411/0.3308, allocations: 1.313 MB / 372.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.3309, allocations: 238.3 kB / 373 MB, free: 19.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/0.3317, allocations: 436.1 kB / 373.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.3317, allocations: 35.89 kB / 373.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.332, allocations: 313.9 kB / 373.8 MB, free: 19.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.3321, allocations: 140 kB / 373.9 MB, free: 19.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3324, allocations: 94.3 kB / 374 MB, free: 19.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3325, allocations: 358.6 kB / 374.4 MB, free: 19.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.3329, allocations: 151.3 kB / 374.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.3334, allocations: 319.1 kB / 374.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.3342, allocations: 462.5 kB / 375.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3342, allocations: 1.375 kB / 375.3 MB, free: 18.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002041/0.3363, allocations: 0.7829 MB / 376.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3363, allocations: 6.656 kB / 376.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3364, allocations: 3.266 kB / 376.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/0.3371, allocations: 216 kB / 376.3 MB, free: 18.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.3375, allocations: 73.53 kB / 376.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.3421, allocations: 2.871 MB / 379.2 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.3427, allocations: 80.42 kB / 379.3 MB, free: 16.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.3427, allocations: 20.38 kB / 379.3 MB, free: 16.07 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.0002955/0.343, allocations: 183.2 kB / 379.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.728e-05/0.3431, allocations: 56.42 kB / 379.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.975e-05/0.3432, allocations: 58.12 kB / 379.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3432, allocations: 4.812 kB / 379.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.3433, allocations: 0.75 kB / 379.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.3433, allocations: 1.5 kB / 379.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.3457, allocations: 1.289 MB / 380.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.3457, allocations: 0.5625 kB / 380.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.3459, allocations: 36.83 kB / 381 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006818/0.3466, allocations: 209.4 kB / 381.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.3467, allocations: 11.41 kB / 381.2 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004015/0.3507, allocations: 2.783 MB / 384 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3507, allocations: 0 / 384 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.3529, allocations: 0.9317 MB / 384.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.353, allocations: 133.8 kB / 385 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.226e-05/0.3531, allocations: 7.656 kB / 385 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.3535, allocations: 47.22 kB / 385.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.3536, allocations: 32 kB / 385.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/0.3536, allocations: 16.45 kB / 385.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.354, allocations: 301.6 kB / 385.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.354, allocations: 0 / 385.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007655/0.3548, allocations: 187.4 kB / 385.6 MB, free: 12.41 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.0001702/0.355, allocations: 114.2 kB / 385.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.3566, allocations: 0.6748 MB / 386.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3566, allocations: 0.75 kB / 386.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007892/0.3574, allocations: 423.5 kB / 386.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.358, allocations: 80.78 kB / 386.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3599, allocations: 1.148 MB / 388 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.3604, allocations: 0.8678 MB / 388.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002419/0.3606, allocations: 52.62 kB / 389 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.201e-05/0.3607, allocations: 31.17 kB / 389 MB, free: 10.3 MB / 302.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3607, allocations: 0 / 389 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Templates: time 0.01371/0.3745, allocations: 7.112 MB / 396.1 MB, free: 7.477 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