Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001799/0.001799, allocations: 190 kB / 18.07 MB, free: 5.414 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.667/1.667, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001237/0.001237, allocations: 51.92 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.129, allocations: 46.62 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007289/0.1363, allocations: 5.707 MB / 332.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.14, allocations: 1.197 MB / 333.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006214/0.1407, allocations: 16 kB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.1411, allocations: 131 kB / 333.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.1417, allocations: 234.1 kB / 333.9 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.1422, allocations: 191.8 kB / 334.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.1434, allocations: 1.017 MB / 335.1 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007046/0.1441, allocations: 444.6 kB / 335.5 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.1446, allocations: 390.6 kB / 335.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.145, allocations: 465.9 kB / 336.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.1451, allocations: 72 kB / 336.4 MB, free: 11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1453, allocations: 72 kB / 336.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.1455, allocations: 195.2 kB / 336.7 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.1459, allocations: 485.7 kB / 337.2 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008304/0.1467, allocations: 1.063 MB / 338.2 MB, free: 9.191 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1467, allocations: 0 / 338.2 MB, free: 9.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1468, allocations: 0 / 338.2 MB, free: 9.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.1468, allocations: 0 / 338.2 MB, free: 9.191 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00206/0.1488, allocations: 1.244 MB / 339.5 MB, free: 7.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.1489, allocations: 12.03 kB / 339.5 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.1491, allocations: 103.7 kB / 339.6 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.1497, allocations: 447.2 kB / 340 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.1498, allocations: 70.38 kB / 340.1 MB, free: 7.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.1499, allocations: 104.2 kB / 340.2 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.1513, allocations: 0.8756 MB / 341.1 MB, free: 6.234 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1514, allocations: 0 / 341.1 MB, free: 6.234 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/0.1515, allocations: 40 kB / 341.1 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.1515, allocations: 24 kB / 341.1 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1526, allocations: 0.5699 MB / 341.7 MB, free: 5.602 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.1572, allocations: 2.964 MB / 344.6 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.1578, allocations: 306.2 kB / 344.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/0.1583, allocations: 272.8 kB / 345.2 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1583, allocations: 4 kB / 345.2 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.867e-05/0.1584, allocations: 34.56 kB / 345.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 3.888e-06/0.1584, allocations: 8 kB / 345.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001914/0.1603, allocations: 0.647 MB / 345.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.1604, allocations: 67.34 kB / 346 MB, free: 1.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006886/0.1611, allocations: 0.5102 MB / 346.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.1612, allocations: 37.7 kB / 346.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.1616, allocations: 481.6 kB / 347 MB, free: 88 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.1618, allocations: 161.7 kB / 347.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.162, allocations: 134.5 kB / 347.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1622, allocations: 366.8 kB / 347.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.1625, allocations: 169.9 kB / 347.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.163, allocations: 453.6 kB / 348.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.1638, allocations: 0.6517 MB / 348.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.1638, allocations: 4 kB / 348.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001212/0.165, allocations: 0.7533 MB / 349.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.1651, allocations: 8 kB / 349.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.1651, allocations: 11.94 kB / 349.7 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.1654, allocations: 84.75 kB / 349.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006808/0.1661, allocations: 199.9 kB / 350 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.1685, allocations: 1.807 MB / 351.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.169, allocations: 87.05 kB / 351.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.1691, allocations: 36 kB / 351.9 MB, free: 10.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003529/0.1695, allocations: 221.5 kB / 352.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1696, allocations: 55.34 kB / 352.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.1697, allocations: 65.5 kB / 352.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1697, allocations: 7.938 kB / 352.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.1697, allocations: 0 / 352.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1697, allocations: 0 / 352.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008375/0.1706, allocations: 0.6492 MB / 352.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1706, allocations: 0 / 352.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.1711, allocations: 107.9 kB / 353 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.1713, allocations: 69.08 kB / 353 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.1713, allocations: 4 kB / 353 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.1731, allocations: 1.792 MB / 354.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1731, allocations: 4.062 kB / 354.8 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.1742, allocations: 0.658 MB / 355.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.1744, allocations: 136.4 kB / 355.6 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.1745, allocations: 8 kB / 355.6 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.1749, allocations: 51.91 kB / 355.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.1749, allocations: 27.95 kB / 355.7 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.175, allocations: 12 kB / 355.7 MB, free: 6.691 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003825/0.1754, allocations: 350.9 kB / 356.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1754, allocations: 0 / 356.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008052/0.1762, allocations: 243.2 kB / 356.3 MB, free: 6.113 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.1763, allocations: 123.1 kB / 356.4 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.1774, allocations: 0.5854 MB / 357 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1774, allocations: 0 / 357 MB, free: 5.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.178, allocations: 322.4 kB / 357.3 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.1788, allocations: 110.7 kB / 357.4 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.1816, allocations: 1.764 MB / 359.2 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.1822, allocations: 0.9301 MB / 360.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.1825, allocations: 77.14 kB / 360.2 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.949e-05/0.1826, allocations: 39.44 kB / 360.2 MB, free: 2.082 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1826, allocations: 0 / 360.2 MB, free: 2.082 MB / 302.1 MB Notification: Performance of Templates: time 0.02001/0.2026, allocations: 6.811 MB / 367.1 MB, free: 11.27 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches