Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001125, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001105/0.001105, allocations: 192 kB / 18.51 MB, free: 4.508 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.478/1.478, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.00122/0.00122, allocations: 55.92 kB / 280.6 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1253, allocations: 46.64 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004124/0.1295, allocations: 2.769 MB / 330 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1307, allocations: 0.6514 MB / 330.7 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.1308, allocations: 8 kB / 330.7 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.131, allocations: 47.52 kB / 330.8 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1312, allocations: 91.11 kB / 330.8 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.1315, allocations: 79.84 kB / 330.9 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.1319, allocations: 354.9 kB / 331.3 MB, free: 460 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002768/0.1321, allocations: 139.2 kB / 331.4 MB, free: 324 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1323, allocations: 123.6 kB / 331.5 MB, free: 200 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1325, allocations: 155.2 kB / 331.7 MB, free: 44 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.1325, allocations: 32 kB / 331.7 MB, free: 12 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.505e-05/0.1326, allocations: 32.05 kB / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.1327, allocations: 71.7 kB / 331.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1328, allocations: 167.2 kB / 332 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.1332, allocations: 351 kB / 332.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1332, allocations: 0 / 332.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1332, allocations: 0 / 332.3 MB, free: 15.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1332, allocations: 4 kB / 332.3 MB, free: 15.4 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009175/0.1341, allocations: 0.5925 MB / 332.9 MB, free: 14.76 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.1342, allocations: 8.031 kB / 332.9 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.153e-05/0.1343, allocations: 32.56 kB / 332.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.1346, allocations: 247.9 kB / 333.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.1346, allocations: 24.94 kB / 333.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.1347, allocations: 32.31 kB / 333.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.1351, allocations: 257.2 kB / 333.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1351, allocations: 0 / 333.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.1352, allocations: 12 kB / 333.5 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.1352, allocations: 8 kB / 333.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.1355, allocations: 182.2 kB / 333.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.1371, allocations: 1.021 MB / 334.7 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.1375, allocations: 324.9 kB / 335 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.1377, allocations: 144.8 kB / 335.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1378, allocations: 4 kB / 335.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1378, allocations: 34.56 kB / 335.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.1378, allocations: 3.938 kB / 335.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001407/0.1392, allocations: 0.7768 MB / 336 MB, free: 11.44 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1393, allocations: 55.34 kB / 336 MB, free: 11.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.1395, allocations: 194.3 kB / 336.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.1395, allocations: 29.7 kB / 336.3 MB, free: 11.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1396, allocations: 168.3 kB / 336.4 MB, free: 10.96 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.1397, allocations: 90.66 kB / 336.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-05/0.1397, allocations: 49.98 kB / 336.6 MB, free: 10.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1399, allocations: 338.8 kB / 336.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.14, allocations: 72.53 kB / 337 MB, free: 10.41 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.1402, allocations: 98.8 kB / 337.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.1405, allocations: 173.7 kB / 337.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1405, allocations: 4 kB / 337.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000504/0.141, allocations: 325.9 kB / 337.6 MB, free: 9.801 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.141, allocations: 4 kB / 337.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.141, allocations: 0 / 337.6 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002513/0.1413, allocations: 88.75 kB / 337.6 MB, free: 9.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.1414, allocations: 47.98 kB / 337.7 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.1434, allocations: 2.088 MB / 339.8 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.1436, allocations: 19.97 kB / 339.8 MB, free: 7.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1436, allocations: 8 kB / 339.8 MB, free: 7.406 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.1437, allocations: 138 kB / 339.9 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.1438, allocations: 27.7 kB / 340 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.1438, allocations: 25.88 kB / 340 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1438, allocations: 0 / 340 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1438, allocations: 4 kB / 340 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.1439, allocations: 7.922 kB / 340 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/0.1449, allocations: 0.741 MB / 340.7 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1449, allocations: 0 / 340.7 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.1451, allocations: 47.97 kB / 340.8 MB, free: 6.355 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/0.1453, allocations: 80.77 kB / 340.9 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1453, allocations: 4 kB / 340.9 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001708/0.147, allocations: 1.986 MB / 342.9 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.147, allocations: 4.031 kB / 342.9 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.1477, allocations: 459.7 kB / 343.3 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.1478, allocations: 88.92 kB / 343.4 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.1478, allocations: 16.11 kB / 343.4 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.148, allocations: 12 kB / 343.4 MB, free: 3.535 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.148, allocations: 23.95 kB / 343.5 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.148, allocations: 4 kB / 343.5 MB, free: 3.508 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1482, allocations: 148.3 kB / 343.6 MB, free: 3.363 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1482, allocations: 0 / 343.6 MB, free: 3.363 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.1486, allocations: 76 kB / 343.7 MB, free: 3.289 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0001245/0.1487, allocations: 107.2 kB / 343.8 MB, free: 3.176 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006765/0.1494, allocations: 382.2 kB / 344.2 MB, free: 2.789 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1494, allocations: 0 / 344.2 MB, free: 2.789 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000404/0.1498, allocations: 263 kB / 344.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1501, allocations: 44.27 kB / 344.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1513, allocations: 0.7626 MB / 345.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.1517, allocations: 0.7636 MB / 346 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.516e-05/0.1518, allocations: 26.28 kB / 346 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.1518, allocations: 19.44 kB / 346 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1518, allocations: 0 / 346 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of Templates: time 0.006669/0.1585, allocations: 3.19 MB / 349.2 MB, free: 13.67 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches