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.001428/0.001428, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001817/0.001817, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.637/1.637, allocations: 205.1 MB / 225 MB, free: 12.29 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.001877/0.001877, allocations: 47.92 kB / 281.3 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1167, allocations: 46.63 MB / 327.9 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007598/0.1244, allocations: 5.701 MB / 333.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.1276, allocations: 1.201 MB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.1287, allocations: 23.94 kB / 334.9 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007695/0.1296, allocations: 162.4 kB / 335 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.131, allocations: 281.4 kB / 335.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.1319, allocations: 223.7 kB / 335.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1337, allocations: 1.056 MB / 336.6 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.1348, allocations: 0.5064 MB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007384/0.1356, allocations: 414.6 kB / 337.5 MB, free: 10.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008786/0.1365, allocations: 481.9 kB / 338 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.1368, allocations: 96 kB / 338.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.1371, allocations: 100 kB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.1374, allocations: 219.2 kB / 338.4 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008341/0.1382, allocations: 0.5055 MB / 338.9 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.1396, allocations: 1.09 MB / 340 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.1397, allocations: 3.984 kB / 340 MB, free: 8.363 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1397, allocations: 4 kB / 340 MB, free: 8.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.281e-05/0.1397, allocations: 0 / 340 MB, free: 8.359 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.002668/0.1424, allocations: 1.236 MB / 341.2 MB, free: 7.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1425, allocations: 8.031 kB / 341.2 MB, free: 7.066 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002456/0.1427, allocations: 107.7 kB / 341.3 MB, free: 6.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008366/0.1436, allocations: 455.1 kB / 341.8 MB, free: 6.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.678e-05/0.1436, allocations: 70.38 kB / 341.8 MB, free: 6.402 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.1438, allocations: 96.28 kB / 341.9 MB, free: 6.309 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.1453, allocations: 0.8755 MB / 342.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.1454, allocations: 0 / 342.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.1455, allocations: 36 kB / 342.8 MB, free: 5.375 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.1455, allocations: 24 kB / 342.9 MB, free: 5.352 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1465, allocations: 0.5739 MB / 343.4 MB, free: 4.773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004628/0.1512, allocations: 2.96 MB / 346.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.1517, allocations: 298.3 kB / 346.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.1521, allocations: 284.5 kB / 347 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.1521, allocations: 4 kB / 347 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.1522, allocations: 38.56 kB / 347 MB, free: 1.059 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 3.186e-06/0.1522, allocations: 0 / 347 MB, free: 1.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001642/0.1538, allocations: 0.655 MB / 347.7 MB, free: 384 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1539, allocations: 55.41 kB / 347.7 MB, free: 316 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006409/0.1545, allocations: 0.5141 MB / 348.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.1546, allocations: 33.7 kB / 348.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.1549, allocations: 481.6 kB / 348.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.155, allocations: 157.8 kB / 348.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.1552, allocations: 142.5 kB / 349 MB, free: 14.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1554, allocations: 366.8 kB / 349.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1557, allocations: 165.9 kB / 349.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004577/0.1562, allocations: 457.6 kB / 350 MB, free: 13.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/0.157, allocations: 0.644 MB / 350.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.157, allocations: 4 kB / 350.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001277/0.1583, allocations: 0.7567 MB / 351.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.1583, allocations: 11.98 kB / 351.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.1583, allocations: 12.56 kB / 351.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.1587, allocations: 88.81 kB / 351.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.1594, allocations: 187.7 kB / 351.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.1614, allocations: 2.01 MB / 353.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.1621, allocations: 87.06 kB / 353.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.1621, allocations: 40 kB / 353.8 MB, free: 9.754 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.000385/0.1625, allocations: 221.5 kB / 354 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1627, allocations: 63.33 kB / 354.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.1628, allocations: 65.5 kB / 354.2 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1628, allocations: 4 kB / 354.2 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.1628, allocations: 4 kB / 354.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.1628, allocations: 7.922 kB / 354.2 MB, free: 9.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008331/0.1636, allocations: 0.6378 MB / 354.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1637, allocations: 0 / 354.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.1641, allocations: 95.94 kB / 354.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.1643, allocations: 80.67 kB / 355 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.1644, allocations: 8 kB / 355 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.1662, allocations: 1.979 MB / 357 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1663, allocations: 0 / 357 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1673, allocations: 0.6658 MB / 357.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.1675, allocations: 136.4 kB / 357.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.128e-05/0.1676, allocations: 12.05 kB / 357.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.168, allocations: 43.97 kB / 357.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.1681, allocations: 27.97 kB / 357.9 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.1682, allocations: 19.98 kB / 357.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003872/0.1686, allocations: 342.9 kB / 358.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1686, allocations: 0 / 358.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008825/0.1695, allocations: 247.4 kB / 358.5 MB, free: 4.879 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.0001606/0.1696, allocations: 119.2 kB / 358.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.1708, allocations: 0.6046 MB / 359.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.1709, allocations: 3.938 kB / 359.2 MB, free: 4.133 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.1714, allocations: 319 kB / 359.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007626/0.1722, allocations: 122.3 kB / 359.6 MB, free: 3.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.1747, allocations: 1.443 MB / 361.1 MB, free: 2.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.1753, allocations: 0.9376 MB / 362 MB, free: 1.242 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.1754, allocations: 43.44 kB / 362 MB, free: 1.199 MB / 302.1 MB Notification: Performance of SimCode: time 1.383e-06/0.1754, allocations: 0 / 362 MB, free: 1.199 MB / 302.1 MB Notification: Performance of Templates: time 0.01811/0.1936, allocations: 10.99 MB / 373 MB, free: 6.203 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches