Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001937/0.001938, allocations: 110.5 kB / 17.73 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002125/0.002125, allocations: 187 kB / 18.66 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 59.92 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1352, allocations: 46.61 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005621/0.1409, allocations: 2.692 MB / 377.9 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002161/0.1431, allocations: 0.7251 MB / 378.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.1434, allocations: 4 kB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.1437, allocations: 43.58 kB / 378.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.144, allocations: 91.25 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.1444, allocations: 99.8 kB / 378.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000521/0.1449, allocations: 354.5 kB / 379.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.1452, allocations: 84.69 kB / 379.3 MB, free: 452 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.1455, allocations: 135.4 kB / 379.4 MB, free: 316 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1457, allocations: 147.4 kB / 379.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.1458, allocations: 28 kB / 379.6 MB, free: 140 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.728e-05/0.1459, allocations: 32 kB / 379.6 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.83e-05/0.146, allocations: 67.73 kB / 379.7 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.297/0.443, allocations: 142.7 kB / 379.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.4436, allocations: 321.5 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4436, allocations: 1.375 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4437, allocations: 0 / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.4437, allocations: 0.9844 kB / 380.1 MB, free: 10.11 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001466/0.4452, allocations: 0.6366 MB / 380.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.4452, allocations: 9.734 kB / 380.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.4453, allocations: 32.56 kB / 380.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.4458, allocations: 274.8 kB / 381.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.4458, allocations: 16.62 kB / 381.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.4459, allocations: 20.25 kB / 381.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.4466, allocations: 250.3 kB / 381.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.4466, allocations: 6.391 kB / 381.3 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.4467, allocations: 8.672 kB / 381.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.4467, allocations: 5.5 kB / 381.4 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008964/0.4476, allocations: 258 kB / 381.6 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.4495, allocations: 0.8517 MB / 382.5 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008759/0.4504, allocations: 225.5 kB / 382.7 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.4508, allocations: 103.9 kB / 382.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.4508, allocations: 2.25 kB / 382.8 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005306/0.4514, allocations: 180.2 kB / 383 MB, free: 8.848 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.023e-06/0.4514, allocations: 0 / 383 MB, free: 8.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002248/0.4536, allocations: 0.5891 MB / 383.6 MB, free: 8.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.4537, allocations: 113.8 kB / 383.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.4541, allocations: 263.3 kB / 383.9 MB, free: 8.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4541, allocations: 27.14 kB / 383.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.4542, allocations: 176.7 kB / 384.1 MB, free: 8.301 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.4543, allocations: 46.44 kB / 384.2 MB, free: 8.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.992e-05/0.4544, allocations: 49.28 kB / 384.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.4545, allocations: 338.5 kB / 384.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.4548, allocations: 104.6 kB / 384.6 MB, free: 7.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.4552, allocations: 171.2 kB / 384.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.4559, allocations: 273.5 kB / 385.1 MB, free: 7.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4559, allocations: 1 kB / 385.1 MB, free: 7.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001205/0.4571, allocations: 432.7 kB / 385.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.4572, allocations: 33.28 kB / 385.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4572, allocations: 3 kB / 385.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/0.4578, allocations: 110.8 kB / 385.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.458, allocations: 45.73 kB / 385.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.4606, allocations: 1.926 MB / 387.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.4611, allocations: 50.47 kB / 387.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.4611, allocations: 9.125 kB / 387.7 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004643/0.4616, allocations: 181.2 kB / 387.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003857/0.462, allocations: 157.4 kB / 388 MB, free: 5.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006412/0.4627, allocations: 242.9 kB / 388.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.4627, allocations: 0.8438 kB / 388.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.001044/0.4637, allocations: 353.4 kB / 388.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.45e-05/0.4638, allocations: 40.19 kB / 388.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4638, allocations: 2.906 kB / 388.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.464, allocations: 47.22 kB / 388.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.4643, allocations: 41.52 kB / 388.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.4659, allocations: 1.725 MB / 390.4 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/0.4664, allocations: 48.25 kB / 390.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.4664, allocations: 6.812 kB / 390.5 MB, free: 3.836 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.4666, allocations: 203.4 kB / 390.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.4667, allocations: 22.89 kB / 390.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.506e-05/0.4667, allocations: 30.7 kB / 390.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4667, allocations: 2.812 kB / 390.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4667, allocations: 0 / 390.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4668, allocations: 0.5625 kB / 390.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.4671, allocations: 294.5 kB / 391 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4672, allocations: 4.516 kB / 391 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.4673, allocations: 21.64 kB / 391.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.4676, allocations: 68.91 kB / 391.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.4676, allocations: 6.391 kB / 391.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.4694, allocations: 1.869 MB / 393 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4694, allocations: 0.6562 kB / 393 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009752/0.4704, allocations: 323.2 kB / 393.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.941e-05/0.4705, allocations: 101.4 kB / 393.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.4706, allocations: 11.28 kB / 393.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.4709, allocations: 25.8 kB / 393.5 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.471, allocations: 25.25 kB / 393.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.471, allocations: 7.312 kB / 393.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.4713, allocations: 191.9 kB / 393.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4713, allocations: 1.375 kB / 393.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000907/0.4722, allocations: 121 kB / 393.8 MB, free: 1.289 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/0.4724, allocations: 102.1 kB / 393.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001842/0.4743, allocations: 0.7348 MB / 394.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.4743, allocations: 5.438 kB / 394.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.4748, allocations: 233.8 kB / 394.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/0.4753, allocations: 51.05 kB / 394.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.4776, allocations: 0.6943 MB / 395.6 MB, free: 312 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.4782, allocations: 0.7496 MB / 396.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.4784, allocations: 33 kB / 396.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.4785, allocations: 19.47 kB / 396.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of SimCode: time 1.733e-06/0.4785, allocations: 0 / 396.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of Templates: time 0.01198/0.4905, allocations: 4.274 MB / 400.7 MB, free: 14.85 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches