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.0009535/0.0009535, allocations: 93.94 kB / 16.93 MB, free: 5.984 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.0008623/0.0008624, allocations: 180.7 kB / 17.82 MB, free: 5.652 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.534/1.534, allocations: 205.4 MB / 224 MB, free: 13.17 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.0006844/0.0006852, allocations: 12.78 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1296, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004738/0.1344, allocations: 4.51 MB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.1369, allocations: 1.24 MB / 334.1 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004304/0.1373, allocations: 19.94 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1376, allocations: 119.1 kB / 334.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006481/0.1382, allocations: 339 kB / 334.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.1386, allocations: 159.8 kB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008561/0.1395, allocations: 0.7309 MB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/0.1401, allocations: 396.2 kB / 335.8 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.1405, allocations: 334.8 kB / 336.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.141, allocations: 386.2 kB / 336.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.026e-05/0.1411, allocations: 52 kB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1412, allocations: 55.94 kB / 336.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1413, allocations: 163.3 kB / 336.8 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1415, allocations: 189.3 kB / 337 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006836/0.1422, allocations: 0.7986 MB / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1422, allocations: 0 / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1422, allocations: 0 / 337.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1422, allocations: 0 / 337.8 MB, free: 10.59 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.001781/0.144, allocations: 1.091 MB / 338.9 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1441, allocations: 12.02 kB / 338.9 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.1443, allocations: 110.8 kB / 339 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.1448, allocations: 438.1 kB / 339.4 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.1449, allocations: 69.94 kB / 339.5 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.145, allocations: 96 kB / 339.6 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.1463, allocations: 0.8557 MB / 340.4 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.1463, allocations: 4 kB / 340.4 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.1464, allocations: 40 kB / 340.5 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.1464, allocations: 24 kB / 340.5 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009011/0.1473, allocations: 0.566 MB / 341.1 MB, free: 7.188 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004109/0.1514, allocations: 2.984 MB / 344 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.1519, allocations: 302.4 kB / 344.3 MB, free: 3.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1519, allocations: 8 kB / 344.3 MB, free: 3.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.152, allocations: 34.56 kB / 344.4 MB, free: 3.727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 2.765e-06/0.152, allocations: 0 / 344.4 MB, free: 3.727 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001414/0.1534, allocations: 0.6549 MB / 345 MB, free: 3.043 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1535, allocations: 59.39 kB / 345.1 MB, free: 2.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.154, allocations: 0.5064 MB / 345.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.1541, allocations: 33.7 kB / 345.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.1544, allocations: 485.5 kB / 346.1 MB, free: 1.934 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1545, allocations: 161.8 kB / 346.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.1545, allocations: 16 kB / 346.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1547, allocations: 366.7 kB / 346.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.155, allocations: 169.9 kB / 346.8 MB, free: 1.227 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.1555, allocations: 449.6 kB / 347.2 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.1558, allocations: 242 kB / 347.5 MB, free: 436 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1559, allocations: 0 / 347.5 MB, free: 436 kB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001138/0.157, allocations: 0.7611 MB / 348.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.157, allocations: 8 kB / 348.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1571, allocations: 12.03 kB / 348.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002969/0.1574, allocations: 84.75 kB / 348.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.158, allocations: 199.7 kB / 348.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.1598, allocations: 1.823 MB / 350.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005578/0.1604, allocations: 102.9 kB / 350.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.1605, allocations: 32 kB / 350.5 MB, free: 13.26 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.0003821/0.1609, allocations: 209.5 kB / 350.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.161, allocations: 59.41 kB / 350.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.363e-05/0.1611, allocations: 69.5 kB / 350.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1611, allocations: 7.984 kB / 350.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.1611, allocations: 0 / 350.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1611, allocations: 4 kB / 350.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007967/0.1619, allocations: 0.6491 MB / 351.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1619, allocations: 0 / 351.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004089/0.1623, allocations: 99.88 kB / 351.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002147/0.1626, allocations: 72.8 kB / 351.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.1626, allocations: 12 kB / 351.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.1643, allocations: 1.804 MB / 353.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1643, allocations: 0 / 353.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.1652, allocations: 0.6659 MB / 354.1 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.1653, allocations: 144.4 kB / 354.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.1654, allocations: 4 kB / 354.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.1658, allocations: 51.97 kB / 354.3 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.1659, allocations: 31.92 kB / 354.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.1659, allocations: 15.98 kB / 354.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003504/0.1663, allocations: 346.9 kB / 354.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1663, allocations: 0 / 354.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007699/0.167, allocations: 239.3 kB / 354.9 MB, free: 8.574 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 (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.0001558/0.1672, allocations: 111.2 kB / 355.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1682, allocations: 0.5892 MB / 355.6 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.1683, allocations: 12.06 kB / 355.7 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004501/0.1687, allocations: 314.4 kB / 356 MB, free: 7.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.1693, allocations: 118.2 kB / 356.1 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.1719, allocations: 1.746 MB / 357.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.1725, allocations: 0.9457 MB / 358.8 MB, free: 4.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003332/0.1729, allocations: 69.69 kB / 358.8 MB, free: 4.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/0.173, allocations: 39.44 kB / 358.9 MB, free: 4.555 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.173, allocations: 0 / 358.9 MB, free: 4.555 MB / 302.1 MB Notification: Performance of Templates: time 0.01244/0.1854, allocations: 6.519 MB / 365.4 MB, free: 14.04 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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