Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001022/0.001022, allocations: 89.75 kB / 16.31 MB, free: 6.461 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.001414/0.001414, allocations: 180.3 kB / 17.21 MB, free: 6.328 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.677/1.677, allocations: 223.3 MB / 241.2 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004531, allocations: 6.219 kB / 300.8 MB, free: 5.992 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1308, allocations: 50.43 MB / 351.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006034/0.1369, allocations: 4.989 MB / 356.2 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002765/0.1397, allocations: 1.134 MB / 357.4 MB, free: 5.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005471/0.1403, allocations: 16 kB / 357.4 MB, free: 5.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.1407, allocations: 135 kB / 357.5 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.1412, allocations: 230.1 kB / 357.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.1416, allocations: 163.8 kB / 357.9 MB, free: 5.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.1427, allocations: 0.9855 MB / 358.9 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/0.1433, allocations: 396.2 kB / 359.3 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004127/0.1437, allocations: 334.7 kB / 359.6 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005905/0.1443, allocations: 394.2 kB / 360 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.1444, allocations: 52 kB / 360 MB, free: 2.879 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1446, allocations: 52 kB / 360.1 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1447, allocations: 151.4 kB / 360.2 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.145, allocations: 201.2 kB / 360.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008908/0.1459, allocations: 0.7984 MB / 361.2 MB, free: 1.676 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.1459, allocations: 3.984 kB / 361.2 MB, free: 1.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.1459, allocations: 0 / 361.2 MB, free: 1.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.146, allocations: 4 kB / 361.2 MB, free: 1.668 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.002253/0.1482, allocations: 1.088 MB / 362.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.1483, allocations: 8.031 kB / 362.3 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.1485, allocations: 102.8 kB / 362.4 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.1494, allocations: 446.2 kB / 362.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.1494, allocations: 66 kB / 362.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.1496, allocations: 99.94 kB / 363 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.1513, allocations: 0.8596 MB / 363.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.1513, allocations: 0 / 363.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.1514, allocations: 47.95 kB / 363.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.1515, allocations: 24 kB / 364 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1525, allocations: 0.5661 MB / 364.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.1572, allocations: 2.984 MB / 367.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.1577, allocations: 297.3 kB / 367.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003857/0.1581, allocations: 272.8 kB / 368.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1581, allocations: 7.984 kB / 368.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.1582, allocations: 46.55 kB / 368.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 4.258e-06/0.1582, allocations: 0 / 368.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001632/0.1598, allocations: 0.6549 MB / 368.8 MB, free: 9.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.1599, allocations: 59.39 kB / 368.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.1605, allocations: 0.5064 MB / 369.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.1605, allocations: 33.7 kB / 369.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.1609, allocations: 485.5 kB / 369.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.161, allocations: 153.9 kB / 370 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.161, allocations: 16 kB / 370 MB, free: 8.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1612, allocations: 366.8 kB / 370.4 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/0.1615, allocations: 169.9 kB / 370.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.1621, allocations: 457.4 kB / 371 MB, free: 7.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.1625, allocations: 238 kB / 371.2 MB, free: 7.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.1625, allocations: 4 kB / 371.2 MB, free: 7.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001231/0.1637, allocations: 0.7568 MB / 372 MB, free: 6.465 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.1638, allocations: 12 kB / 372 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.1638, allocations: 8 kB / 372 MB, free: 6.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.1641, allocations: 93.08 kB / 372.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.1648, allocations: 199.7 kB / 372.3 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.1667, allocations: 1.807 MB / 374.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.1672, allocations: 83.03 kB / 374.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.1673, allocations: 36 kB / 374.2 MB, free: 4.102 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004063/0.1677, allocations: 213.5 kB / 374.4 MB, free: 3.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-05/0.1678, allocations: 59.3 kB / 374.5 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.1679, allocations: 69.5 kB / 374.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1679, allocations: 4 kB / 374.5 MB, free: 3.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.1679, allocations: 4.062 kB / 374.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.168, allocations: 3.984 kB / 374.5 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000883/0.1688, allocations: 0.6415 MB / 375.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1689, allocations: 0 / 375.2 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.1693, allocations: 107.8 kB / 375.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/0.1695, allocations: 72.8 kB / 375.4 MB, free: 2.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.1695, allocations: 8 kB / 375.4 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.1712, allocations: 1.792 MB / 377.2 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1713, allocations: 0 / 377.2 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009717/0.1722, allocations: 0.6622 MB / 377.8 MB, free: 260 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.1724, allocations: 132.4 kB / 378 MB, free: 108 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.1724, allocations: 12 kB / 378 MB, free: 96 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.1728, allocations: 51.97 kB / 378 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.1729, allocations: 27.95 kB / 378 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.1729, allocations: 12 kB / 378.1 MB, free: 4 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.1733, allocations: 346.9 kB / 378.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1733, allocations: 3.938 kB / 378.4 MB, free: 15.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007654/0.1741, allocations: 247.2 kB / 378.6 MB, free: 15.42 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.1742, allocations: 107.5 kB / 378.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.1752, allocations: 0.5927 MB / 379.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.1753, allocations: 4 kB / 379.3 MB, free: 14.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006218/0.1759, allocations: 322.9 kB / 379.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.1765, allocations: 122.2 kB / 379.8 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.179, allocations: 1.75 MB / 381.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.1796, allocations: 0.9339 MB / 382.5 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003466/0.18, allocations: 69.22 kB / 382.5 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.1801, allocations: 39.62 kB / 382.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1801, allocations: 0 / 382.6 MB, free: 11.39 MB / 318.1 MB Notification: Performance of Templates: time 0.01388/0.194, allocations: 6.531 MB / 389.1 MB, free: 4.93 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches