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.001463/0.001463, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001601/0.001601, allocations: 189.3 kB / 18.19 MB, free: 5.383 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.842/1.842, allocations: 205.1 MB / 224.1 MB, free: 12.42 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.00118/0.00118, allocations: 59.91 kB / 280.2 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1174, allocations: 46.62 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006921/0.1244, allocations: 5.711 MB / 332.5 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.1272, allocations: 1.197 MB / 333.7 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.1277, allocations: 19.94 kB / 333.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.1281, allocations: 127 kB / 333.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005687/0.1287, allocations: 234.1 kB / 334.1 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.1292, allocations: 191.8 kB / 334.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.1304, allocations: 1.052 MB / 335.3 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007854/0.1312, allocations: 0.518 MB / 335.8 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.1316, allocations: 410.6 kB / 336.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000537/0.1322, allocations: 473.9 kB / 336.7 MB, free: 10.81 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.1323, allocations: 96 kB / 336.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.1324, allocations: 100 kB / 336.9 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.1327, allocations: 223.2 kB / 337.1 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.1331, allocations: 0.4977 MB / 337.6 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1342, allocations: 1.098 MB / 338.7 MB, free: 8.801 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1342, allocations: 0 / 338.7 MB, free: 8.801 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1342, allocations: 0 / 338.7 MB, free: 8.801 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1343, allocations: 4 kB / 338.7 MB, free: 8.797 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.002034/0.1363, allocations: 1.236 MB / 339.9 MB, free: 7.512 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.1364, allocations: 8.031 kB / 339.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.1366, allocations: 107.7 kB / 340 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.1372, allocations: 451.2 kB / 340.5 MB, free: 6.914 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.1373, allocations: 70.38 kB / 340.5 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.1374, allocations: 100.3 kB / 340.6 MB, free: 6.746 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.139, allocations: 0.8716 MB / 341.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.139, allocations: 3.938 kB / 341.5 MB, free: 5.848 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/0.1391, allocations: 40 kB / 341.6 MB, free: 5.809 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.1391, allocations: 24 kB / 341.6 MB, free: 5.785 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.1401, allocations: 0.5739 MB / 342.2 MB, free: 5.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004306/0.1444, allocations: 2.956 MB / 345.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/0.1449, allocations: 314.2 kB / 345.4 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.1452, allocations: 268.8 kB / 345.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.1453, allocations: 4 kB / 345.7 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.1453, allocations: 38.56 kB / 345.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.1453, allocations: 0 / 345.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001496/0.1468, allocations: 0.6548 MB / 346.4 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1469, allocations: 55.41 kB / 346.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/0.1475, allocations: 0.5141 MB / 346.9 MB, free: 228 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.652e-05/0.1476, allocations: 33.7 kB / 347 MB, free: 188 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.148, allocations: 489.8 kB / 347.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1481, allocations: 161.7 kB / 347.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.1483, allocations: 134.5 kB / 347.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.1485, allocations: 366.8 kB / 348.1 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.1488, allocations: 173.9 kB / 348.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.1493, allocations: 445.6 kB / 348.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008004/0.1501, allocations: 0.6557 MB / 349.4 MB, free: 13.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1501, allocations: 8 kB / 349.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001181/0.1513, allocations: 0.7494 MB / 350.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1513, allocations: 12.03 kB / 350.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.1513, allocations: 12 kB / 350.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003043/0.1517, allocations: 80.81 kB / 350.2 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.1523, allocations: 199.7 kB / 350.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.1548, allocations: 2.006 MB / 352.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.1553, allocations: 87.06 kB / 352.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.1554, allocations: 32 kB / 352.5 MB, free: 10.19 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.0004228/0.1558, allocations: 217.5 kB / 352.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1559, allocations: 59.34 kB / 352.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1561, allocations: 65.5 kB / 352.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1561, allocations: 7.938 kB / 352.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.1561, allocations: 4 kB / 352.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.1561, allocations: 3.984 kB / 352.9 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008307/0.1569, allocations: 0.6414 MB / 353.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1569, allocations: 0 / 353.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000406/0.1574, allocations: 103.9 kB / 353.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002225/0.1576, allocations: 72.73 kB / 353.7 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.1576, allocations: 12 kB / 353.7 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.1596, allocations: 1.987 MB / 355.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1597, allocations: 0 / 355.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.1606, allocations: 0.658 MB / 356.4 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1607, allocations: 136.4 kB / 356.5 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/0.1608, allocations: 12 kB / 356.5 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.1612, allocations: 43.97 kB / 356.5 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.1613, allocations: 35.88 kB / 356.6 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.1613, allocations: 12 kB / 356.6 MB, free: 5.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004075/0.1618, allocations: 346.9 kB / 356.9 MB, free: 5.555 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1618, allocations: 0 / 356.9 MB, free: 5.555 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008622/0.1626, allocations: 247.1 kB / 357.2 MB, free: 5.312 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.0002016/0.1628, allocations: 119.1 kB / 357.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.164, allocations: 0.5973 MB / 357.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.164, allocations: 4.125 kB / 357.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.1645, allocations: 318.4 kB / 358.2 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007061/0.1652, allocations: 130.4 kB / 358.3 MB, free: 4.117 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.1678, allocations: 1.761 MB / 360.1 MB, free: 2.324 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.1684, allocations: 0.9298 MB / 361 MB, free: 1.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002984/0.1687, allocations: 69.22 kB / 361.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-05/0.1688, allocations: 39.44 kB / 361.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1688, allocations: 0 / 361.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of Templates: time 0.01289/0.1817, allocations: 7.13 MB / 368.3 MB, free: 10.14 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