Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001276/0.001276, allocations: 191 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 55.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4486, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005334/0.454, allocations: 2.8 MB / 403.5 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.4554, allocations: 0.6349 MB / 404.2 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.4556, allocations: 8 kB / 404.2 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.4558, allocations: 43.52 kB / 404.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.456, allocations: 91.23 kB / 404.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.4563, allocations: 91.83 kB / 404.4 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.4568, allocations: 382.5 kB / 404.8 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.4571, allocations: 118.9 kB / 404.9 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.4573, allocations: 147.5 kB / 405 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.4576, allocations: 167.3 kB / 405.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.4576, allocations: 32 kB / 405.2 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.4577, allocations: 36 kB / 405.3 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.936e-05/0.4578, allocations: 75.69 kB / 405.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002077/0.458, allocations: 159.3 kB / 405.5 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004565/0.4585, allocations: 379.8 kB / 405.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4585, allocations: 4 kB / 405.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4585, allocations: 0 / 405.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.4585, allocations: 0 / 405.9 MB, free: 3.723 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001396/0.4599, allocations: 0.6459 MB / 406.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.46, allocations: 8.031 kB / 406.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.4601, allocations: 32.56 kB / 406.6 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.4606, allocations: 288.5 kB / 406.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.4606, allocations: 20.94 kB / 406.9 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.4607, allocations: 24.38 kB / 406.9 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.4614, allocations: 303.7 kB / 407.2 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4614, allocations: 7.938 kB / 407.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.4614, allocations: 4 kB / 407.2 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4615, allocations: 8 kB / 407.2 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007935/0.4623, allocations: 249.6 kB / 407.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.464, allocations: 1.085 MB / 408.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/0.4648, allocations: 214.5 kB / 408.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.4652, allocations: 96.72 kB / 408.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.4652, allocations: 4 kB / 408.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000477/0.4657, allocations: 161.9 kB / 409 MB, free: 380 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.104e-06/0.4657, allocations: 0 / 409 MB, free: 380 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.002203/0.4679, allocations: 0.5147 MB / 409.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.468, allocations: 106.8 kB / 409.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.4684, allocations: 286.6 kB / 409.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.4684, allocations: 29.7 kB / 409.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.4686, allocations: 195.5 kB / 410.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.4686, allocations: 51.38 kB / 410.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.4687, allocations: 45.94 kB / 410.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4689, allocations: 334.8 kB / 410.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.4692, allocations: 92.16 kB / 410.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/0.4696, allocations: 202.1 kB / 410.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/0.4703, allocations: 309.4 kB / 411.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4704, allocations: 3.938 kB / 411.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001224/0.4716, allocations: 423 kB / 411.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.4717, allocations: 37.67 kB / 411.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.4717, allocations: 4 kB / 411.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.4721, allocations: 76.73 kB / 411.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.4723, allocations: 47.91 kB / 411.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.4754, allocations: 1.715 MB / 413.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.4759, allocations: 51.66 kB / 413.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.4759, allocations: 20.06 kB / 413.5 MB, free: 11.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.0002293/0.4762, allocations: 149.7 kB / 413.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.4762, allocations: 23.72 kB / 413.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.4763, allocations: 17.72 kB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4763, allocations: 3.984 kB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4763, allocations: 4 kB / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4763, allocations: 0 / 413.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.4767, allocations: 297.4 kB / 414 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.4767, allocations: 11.92 kB / 414 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.4768, allocations: 19.98 kB / 414 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002807/0.4771, allocations: 68.92 kB / 414.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.4772, allocations: 4 kB / 414.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.4795, allocations: 1.711 MB / 415.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4795, allocations: 0 / 415.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.4806, allocations: 309.4 kB / 416.1 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.4807, allocations: 104.8 kB / 416.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.4808, allocations: 7.984 kB / 416.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.4811, allocations: 31.97 kB / 416.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.4812, allocations: 23.97 kB / 416.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.4812, allocations: 4 kB / 416.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.4815, allocations: 205.8 kB / 416.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.4815, allocations: 4 kB / 416.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.4819, allocations: 83.78 kB / 416.6 MB, free: 8.219 MB / 334.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 (7): * Single equations (assignments): 4 * 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.0001648/0.4821, allocations: 103.8 kB / 416.7 MB, free: 8.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.4833, allocations: 410 kB / 417.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4834, allocations: 0 / 417.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005247/0.4839, allocations: 226.5 kB / 417.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4843, allocations: 48.19 kB / 417.3 MB, free: 7.406 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.4855, allocations: 452.5 kB / 417.8 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.4859, allocations: 0.7518 MB / 418.5 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001427/0.4861, allocations: 30.22 kB / 418.5 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.602e-05/0.4861, allocations: 23.44 kB / 418.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4862, allocations: 0 / 418.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of Templates: time 0.01144/0.4976, allocations: 4.227 MB / 422.8 MB, free: 1.91 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches