Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,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.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,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.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 113.9 kB / 17.73 MB, free: 5.234 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.001705/0.001705, allocations: 187.1 kB / 18.66 MB, free: 4.309 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.825/1.825, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001314/0.001314, allocations: 55.92 kB / 328.6 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1573, allocations: 46.61 MB / 375.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.005707/0.1631, allocations: 2.703 MB / 377.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1652, allocations: 0.7213 MB / 378.6 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.1654, allocations: 7.938 kB / 378.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.1658, allocations: 39.58 kB / 378.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002897/0.1661, allocations: 95.25 kB / 378.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.1665, allocations: 91.83 kB / 378.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006347/0.1672, allocations: 358.4 kB / 379.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003019/0.1675, allocations: 84.69 kB / 379.3 MB, free: 460 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.1678, allocations: 139.5 kB / 379.4 MB, free: 320 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.1681, allocations: 147.3 kB / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-05/0.1682, allocations: 28 kB / 379.6 MB, free: 144 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.1683, allocations: 32 kB / 379.6 MB, free: 112 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.1684, allocations: 63.75 kB / 379.7 MB, free: 48 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.295/0.4634, allocations: 144.3 kB / 379.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000787/0.4643, allocations: 326.1 kB / 380.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4643, allocations: 0 / 380.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4643, allocations: 2.625 kB / 380.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.4644, allocations: 1.094 kB / 380.1 MB, free: 10.1 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.001601/0.466, allocations: 0.6336 MB / 380.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.466, allocations: 10.16 kB / 380.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.4662, allocations: 31.38 kB / 380.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.4667, allocations: 274.4 kB / 381.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.4667, allocations: 15.28 kB / 381.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/0.4668, allocations: 21.19 kB / 381.1 MB, free: 9.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007666/0.4676, allocations: 247.5 kB / 381.3 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4676, allocations: 6.625 kB / 381.3 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.4677, allocations: 9.75 kB / 381.4 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.4677, allocations: 4.125 kB / 381.4 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008923/0.4686, allocations: 254.5 kB / 381.6 MB, free: 9.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.4704, allocations: 0.8574 MB / 382.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.4713, allocations: 224.3 kB / 382.7 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.4716, allocations: 100.5 kB / 382.8 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.4717, allocations: 7.922 kB / 382.8 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005323/0.4722, allocations: 177.1 kB / 383 MB, free: 8.836 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.4722, allocations: 0 / 383 MB, free: 8.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002359/0.4746, allocations: 0.5858 MB / 383.5 MB, free: 8.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.4747, allocations: 110.3 kB / 383.7 MB, free: 8.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.4751, allocations: 259.3 kB / 383.9 MB, free: 8.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.4751, allocations: 26.98 kB / 383.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4752, allocations: 171 kB / 384.1 MB, free: 8.301 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.445e-05/0.4753, allocations: 45.11 kB / 384.1 MB, free: 8.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/0.4754, allocations: 46.66 kB / 384.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4755, allocations: 337.9 kB / 384.5 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.4759, allocations: 102.2 kB / 384.6 MB, free: 7.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.4763, allocations: 150.9 kB / 384.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007007/0.477, allocations: 259.2 kB / 385 MB, free: 7.758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.477, allocations: 0 / 385 MB, free: 7.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001289/0.4783, allocations: 411.5 kB / 385.4 MB, free: 7.668 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.837e-05/0.4784, allocations: 34.52 kB / 385.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4784, allocations: 1.344 kB / 385.5 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.479, allocations: 116.2 kB / 385.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.4792, allocations: 36.66 kB / 385.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.4814, allocations: 1.892 MB / 387.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.4817, allocations: 45.95 kB / 387.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.4817, allocations: 10.28 kB / 387.6 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003628/0.4821, allocations: 176.2 kB / 387.7 MB, free: 6.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003069/0.4824, allocations: 149.1 kB / 387.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005246/0.4829, allocations: 233.5 kB / 388.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.483, allocations: 1.094 kB / 388.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0007564/0.4837, allocations: 337.4 kB / 388.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.4837, allocations: 33.02 kB / 388.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.4838, allocations: 1.312 kB / 388.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/0.4839, allocations: 42.11 kB / 388.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.4841, allocations: 41.64 kB / 388.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.4851, allocations: 1.724 MB / 390.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.4855, allocations: 39.73 kB / 390.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.4855, allocations: 13.66 kB / 390.3 MB, free: 3.934 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001139/0.4856, allocations: 199.4 kB / 390.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.4857, allocations: 20.55 kB / 390.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.008e-05/0.4857, allocations: 26.28 kB / 390.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.4857, allocations: 6.188 kB / 390.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.4857, allocations: 3.844 kB / 390.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4857, allocations: 2.219 kB / 390.6 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.4861, allocations: 294.2 kB / 390.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.4861, allocations: 5.188 kB / 390.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.4862, allocations: 28.06 kB / 390.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002483/0.4865, allocations: 65 kB / 391 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.4865, allocations: 5.969 kB / 391 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.4884, allocations: 1.718 MB / 392.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4884, allocations: 0 / 392.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009488/0.4893, allocations: 314.7 kB / 393 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.4894, allocations: 101 kB / 393.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.4895, allocations: 2.969 kB / 393.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.4897, allocations: 34.53 kB / 393.1 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.4899, allocations: 18.88 kB / 393.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.4899, allocations: 12.14 kB / 393.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.4902, allocations: 185.5 kB / 393.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4902, allocations: 3.469 kB / 393.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006571/0.4908, allocations: 129.5 kB / 393.5 MB, free: 1.527 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.0001505/0.491, allocations: 101.8 kB / 393.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.4925, allocations: 0.6864 MB / 394.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4926, allocations: 1.219 kB / 394.3 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.493, allocations: 236.3 kB / 394.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.4934, allocations: 42.2 kB / 394.5 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4946, allocations: 451.2 kB / 395 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.495, allocations: 0.7492 MB / 395.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.4951, allocations: 22.67 kB / 395.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.4952, allocations: 25.11 kB / 395.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4952, allocations: 3.938 kB / 395.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of Templates: time 0.01267/0.5079, allocations: 4.316 MB / 400.1 MB, free: 15.21 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches