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.001401/0.001401, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.001496/0.001496, allocations: 198 kB / 18.07 MB, free: 5.41 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.653/1.653, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001703/0.001703, allocations: 55.92 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.148, allocations: 46.62 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.007196/0.1553, allocations: 2.753 MB / 329.4 MB, free: 2.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.1576, allocations: 0.7216 MB / 330.1 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.1579, allocations: 4 kB / 330.1 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.1583, allocations: 27.77 kB / 330.1 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1586, allocations: 79.39 kB / 330.2 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.159, allocations: 83.91 kB / 330.3 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.1594, allocations: 326.6 kB / 330.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.1597, allocations: 69.14 kB / 330.7 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.1599, allocations: 131.4 kB / 330.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002065/0.1601, allocations: 139.3 kB / 330.9 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.1601, allocations: 20 kB / 330.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.244e-05/0.1602, allocations: 19.94 kB / 331 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.1603, allocations: 55.75 kB / 331 MB, free: 460 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.1605, allocations: 135.2 kB / 331.2 MB, free: 324 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.1609, allocations: 311.2 kB / 331.5 MB, free: 12 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.1609, allocations: 0 / 331.5 MB, free: 12 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1609, allocations: 0 / 331.5 MB, free: 12 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.161, allocations: 0 / 331.5 MB, free: 12 kB / 270.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.001775/0.1627, allocations: 0.6379 MB / 332.1 MB, free: 15.31 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.427e-05/0.1628, allocations: 8.031 kB / 332.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.1629, allocations: 36.66 kB / 332.1 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.1634, allocations: 279.4 kB / 332.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.1634, allocations: 12.81 kB / 332.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.1635, allocations: 20.38 kB / 332.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/0.1642, allocations: 247.5 kB / 332.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1643, allocations: 0 / 332.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.1643, allocations: 12 kB / 332.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.1643, allocations: 8 kB / 332.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007386/0.1651, allocations: 249.6 kB / 332.9 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1668, allocations: 0.8735 MB / 333.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.1676, allocations: 218.6 kB / 334 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002847/0.1678, allocations: 100.8 kB / 334.1 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.1679, allocations: 4 kB / 334.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006204/0.1685, allocations: 181.7 kB / 334.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.1685, allocations: 0 / 334.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.00203/0.1706, allocations: 0.5853 MB / 334.9 MB, free: 12.33 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/0.1707, allocations: 102.8 kB / 335 MB, free: 12.21 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.1711, allocations: 260.8 kB / 335.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.1711, allocations: 33.7 kB / 335.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.1713, allocations: 171.9 kB / 335.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.1713, allocations: 51.34 kB / 335.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.716e-05/0.1714, allocations: 45.7 kB / 335.5 MB, free: 11.63 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1716, allocations: 326.8 kB / 335.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.1719, allocations: 96.78 kB / 336 MB, free: 11.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003724/0.1723, allocations: 167.4 kB / 336.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.1729, allocations: 254.8 kB / 336.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.173, allocations: 0 / 336.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001143/0.1741, allocations: 411.5 kB / 336.8 MB, free: 10.32 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.5e-05/0.1742, allocations: 33.7 kB / 336.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1742, allocations: 0 / 336.8 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005445/0.1748, allocations: 112.8 kB / 336.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.175, allocations: 39.91 kB / 337 MB, free: 10.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.1771, allocations: 1.697 MB / 338.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.1775, allocations: 43.91 kB / 338.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.1775, allocations: 16 kB / 338.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003477/0.1779, allocations: 180.1 kB / 338.9 MB, free: 8.055 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003151/0.1782, allocations: 139.7 kB / 339 MB, free: 7.891 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005014/0.1787, allocations: 234.6 kB / 339.3 MB, free: 7.637 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.1787, allocations: 0 / 339.3 MB, free: 7.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0008469/0.1796, allocations: 335.5 kB / 339.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.1796, allocations: 29.7 kB / 339.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.1797, allocations: 4.188 kB / 339.6 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.1798, allocations: 44.83 kB / 339.7 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.18, allocations: 43.91 kB / 339.7 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.1815, allocations: 1.537 MB / 341.2 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.1819, allocations: 43.84 kB / 341.3 MB, free: 5.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.1819, allocations: 8 kB / 341.3 MB, free: 5.441 MB / 286.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.0001821/0.1821, allocations: 196.3 kB / 341.5 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.1822, allocations: 27.66 kB / 341.5 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.1822, allocations: 25.83 kB / 341.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1822, allocations: 0 / 341.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1822, allocations: 4.188 kB / 341.5 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1823, allocations: 0 / 341.5 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.1826, allocations: 297.4 kB / 341.8 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1826, allocations: 0 / 341.8 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1828, allocations: 27.98 kB / 341.9 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002617/0.183, allocations: 68.73 kB / 341.9 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.1831, allocations: 4 kB / 341.9 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.1848, allocations: 1.593 MB / 343.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1848, allocations: 0 / 343.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008605/0.1857, allocations: 329.6 kB / 343.8 MB, free: 2.68 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.1858, allocations: 96.77 kB / 343.9 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.1858, allocations: 11.94 kB / 344 MB, free: 2.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.186, allocations: 28.14 kB / 344 MB, free: 2.527 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.1862, allocations: 27.97 kB / 344 MB, free: 2.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1862, allocations: 8 kB / 344 MB, free: 2.492 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.1864, allocations: 180.5 kB / 344.2 MB, free: 2.32 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1864, allocations: 4 kB / 344.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006142/0.187, allocations: 119.8 kB / 344.3 MB, free: 2.199 MB / 286.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.0001767/0.1872, allocations: 111.1 kB / 344.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.1889, allocations: 0.6801 MB / 345.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1889, allocations: 8.062 kB / 345.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.1894, allocations: 234.5 kB / 345.3 MB, free: 1.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1898, allocations: 40.53 kB / 345.4 MB, free: 1.059 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.191, allocations: 0.5258 MB / 345.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.1914, allocations: 0.7482 MB / 346.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001457/0.1916, allocations: 22.3 kB / 346.7 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.1916, allocations: 19.44 kB / 346.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1917, allocations: 4 kB / 346.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of Templates: time 0.008522/0.2002, allocations: 3.934 MB / 350.6 MB, free: 11.75 MB / 302.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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches