Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008777/0.0008777, allocations: 91.78 kB / 17.3 MB, free: 6.031 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.001099/0.0011, allocations: 176.6 kB / 18.2 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.872/1.872, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.000532/0.0005323, allocations: 16.28 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1466, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.003441/0.1501, allocations: 2.492 MB / 331.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1517, allocations: 0.745 MB / 332.2 MB, free: 500 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.1519, allocations: 4 kB / 332.2 MB, free: 496 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.1521, allocations: 35.7 kB / 332.2 MB, free: 460 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.1524, allocations: 83.38 kB / 332.3 MB, free: 376 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1527, allocations: 87.84 kB / 332.4 MB, free: 288 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004237/0.1532, allocations: 362.5 kB / 332.8 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.1534, allocations: 89.28 kB / 332.9 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.1537, allocations: 127.3 kB / 333 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1539, allocations: 143.3 kB / 333.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.154, allocations: 16 kB / 333.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.431e-05/0.154, allocations: 20 kB / 333.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.645e-05/0.1541, allocations: 51.7 kB / 333.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000228/0.1544, allocations: 172.9 kB / 333.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.1548, allocations: 334.9 kB / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1548, allocations: 0 / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1548, allocations: 0 / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1549, allocations: 0 / 333.7 MB, free: 14.99 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001489/0.1563, allocations: 0.6342 MB / 334.3 MB, free: 14.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1564, allocations: 8.031 kB / 334.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.592e-05/0.1565, allocations: 36.56 kB / 334.4 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.1569, allocations: 292.4 kB / 334.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.1569, allocations: 16.94 kB / 334.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.214e-05/0.157, allocations: 20.38 kB / 334.7 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.1577, allocations: 289.1 kB / 335 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1577, allocations: 0 / 335 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.1577, allocations: 11.94 kB / 335 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.1578, allocations: 4 kB / 335 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008537/0.1586, allocations: 306 kB / 335.3 MB, free: 13.29 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1604, allocations: 0.9103 MB / 336.2 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009282/0.1614, allocations: 403.7 kB / 336.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.1618, allocations: 140.8 kB / 336.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.1619, allocations: 7.984 kB / 336.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005816/0.1624, allocations: 205.7 kB / 337 MB, free: 11.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 3.857e-06/0.1625, allocations: 0 / 337 MB, free: 11.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002048/0.1645, allocations: 0.7048 MB / 337.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/0.1646, allocations: 102.8 kB / 337.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.1649, allocations: 270.5 kB / 338 MB, free: 10.39 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.165, allocations: 29.7 kB / 338 MB, free: 10.36 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1651, allocations: 180 kB / 338.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.1652, allocations: 59.11 kB / 338.3 MB, free: 10.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.1653, allocations: 25.7 kB / 338.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1654, allocations: 338.8 kB / 338.6 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003314/0.1658, allocations: 120.2 kB / 338.8 MB, free: 9.625 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.1661, allocations: 184.1 kB / 338.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006756/0.1668, allocations: 299.5 kB / 339.2 MB, free: 9.098 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1668, allocations: 4 kB / 339.2 MB, free: 9.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001197/0.168, allocations: 491.3 kB / 339.7 MB, free: 8.598 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.1682, allocations: 155.9 kB / 339.9 MB, free: 8.414 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.1683, allocations: 4 kB / 339.9 MB, free: 8.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.1688, allocations: 120.8 kB / 340 MB, free: 8.289 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1691, allocations: 67.89 kB / 340.1 MB, free: 8.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.1711, allocations: 1.499 MB / 341.6 MB, free: 6.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.1715, allocations: 59.81 kB / 341.6 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1715, allocations: 12 kB / 341.6 MB, free: 6.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.1715, allocations: 4 kB / 341.6 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000735/0.1722, allocations: 326.3 kB / 341.9 MB, free: 6.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1723, allocations: 4 kB / 341.9 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.912e-05/0.1723, allocations: 28.83 kB / 342 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.1726, allocations: 68.08 kB / 342 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.1739, allocations: 1.384 MB / 343.4 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.1742, allocations: 55.69 kB / 343.5 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.1742, allocations: 4 kB / 343.5 MB, free: 4.504 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 (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000299/0.1745, allocations: 224.7 kB / 343.7 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.1746, allocations: 23.72 kB / 343.7 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.1747, allocations: 30.17 kB / 343.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1747, allocations: 7.938 kB / 343.8 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.1747, allocations: 0 / 343.8 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1747, allocations: 0 / 343.8 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.1762, allocations: 0.7573 MB / 344.5 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.1762, allocations: 0 / 344.5 MB, free: 3.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.1765, allocations: 51.89 kB / 344.6 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001994/0.1767, allocations: 64.88 kB / 344.6 MB, free: 3.285 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.1767, allocations: 4 kB / 344.6 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.1785, allocations: 1.491 MB / 346.1 MB, free: 1.656 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1785, allocations: 0 / 346.1 MB, free: 1.656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.1799, allocations: 0.5787 MB / 346.7 MB, free: 1.055 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.18, allocations: 100.8 kB / 346.8 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.18, allocations: 11.98 kB / 346.8 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/0.1803, allocations: 35.97 kB / 346.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1804, allocations: 27.91 kB / 346.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1805, allocations: 4 kB / 346.9 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1807, allocations: 194 kB / 347.1 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.734e-06/0.1807, allocations: 0 / 347.1 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000588/0.1813, allocations: 131.7 kB / 347.2 MB, free: 0.543 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * 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 (16): * Single equations (assignments): 13 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002238/0.1815, allocations: 103.2 kB / 347.3 MB, free: 444 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.1833, allocations: 0.745 MB / 348.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.1833, allocations: 4 kB / 348.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.1838, allocations: 250.9 kB / 348.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.1843, allocations: 44.66 kB / 348.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.1857, allocations: 0.6985 MB / 349 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.1862, allocations: 0.7599 MB / 349.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.1863, allocations: 30.28 kB / 349.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/0.1864, allocations: 19.44 kB / 349.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1864, allocations: 4 kB / 349.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of Templates: time 0.009329/0.1957, allocations: 3.873 MB / 353.7 MB, free: 9.895 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches