Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002124/0.002125, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.535/3.535, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001737/0.001737, allocations: 88.38 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.000487, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6049/0.6054, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.7758, allocations: 78.87 MB / 454.6 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/0.7762, allocations: 67.97 kB / 454.7 MB, free: 1.699 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05359/0.8299, allocations: 12.81 MB / 467.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.493e-06/0.8299, allocations: 0 / 467.5 MB, free: 4.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.805e-05/0.83, allocations: 20 kB / 467.5 MB, free: 4.816 MB / 346.7 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.003445/0.8335, allocations: 1.056 MB / 468.5 MB, free: 3.707 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.144e-05/0.8336, allocations: 8.031 kB / 468.6 MB, free: 3.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.835, allocations: 111.7 kB / 468.7 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.8361, allocations: 447.2 kB / 469.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.8362, allocations: 70.38 kB / 469.2 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.8365, allocations: 104.3 kB / 469.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.8391, allocations: 0.8601 MB / 470.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.807e-05/0.8392, allocations: 4.188 kB / 470.1 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/0.8393, allocations: 43.94 kB / 470.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-05/0.8394, allocations: 24 kB / 470.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.8414, allocations: 0.5739 MB / 470.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007504/0.8489, allocations: 3.003 MB / 473.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.8497, allocations: 295.6 kB / 474.1 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007326/0.8504, allocations: 269.7 kB / 474.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.8505, allocations: 7.938 kB / 474.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.8506, allocations: 42.56 kB / 474.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 5.2e-06/0.8506, allocations: 0 / 474.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.002589/0.8532, allocations: 0.6549 MB / 475 MB, free: 12.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.8533, allocations: 55.41 kB / 475.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.8544, allocations: 0.5102 MB / 475.6 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.8545, allocations: 33.7 kB / 475.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.855, allocations: 485.6 kB / 476.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.8553, allocations: 157.8 kB / 476.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.8553, allocations: 20 kB / 476.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002548/0.8556, allocations: 366.7 kB / 476.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.8561, allocations: 173.9 kB / 476.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008573/0.857, allocations: 449.6 kB / 477.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.8585, allocations: 0.644 MB / 477.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.8586, allocations: 4 kB / 477.9 MB, free: 9.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002342/0.8609, allocations: 0.7571 MB / 478.6 MB, free: 9.059 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/0.861, allocations: 8 kB / 478.7 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.861, allocations: 12 kB / 478.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.8616, allocations: 80.81 kB / 478.7 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.8628, allocations: 199.8 kB / 478.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/0.8663, allocations: 1.815 MB / 480.8 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.8674, allocations: 83.12 kB / 480.8 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.955e-05/0.8675, allocations: 32 kB / 480.9 MB, free: 6.703 MB / 362.7 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.0006471/0.8682, allocations: 213.6 kB / 481.1 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.8684, allocations: 59.28 kB / 481.1 MB, free: 6.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.8686, allocations: 69.5 kB / 481.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.8686, allocations: 7.984 kB / 481.2 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.8687, allocations: 0 / 481.2 MB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.8687, allocations: 3.984 kB / 481.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.8701, allocations: 0.6453 MB / 481.9 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.8702, allocations: 0 / 481.9 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/0.871, allocations: 111.9 kB / 482 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003935/0.8714, allocations: 72.73 kB / 482 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.8714, allocations: 4 kB / 482 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003003/0.8745, allocations: 1.792 MB / 483.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.8745, allocations: 3.938 kB / 483.8 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.8763, allocations: 0.6659 MB / 484.5 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/0.8766, allocations: 132.5 kB / 484.6 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.8767, allocations: 11.94 kB / 484.6 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006261/0.8774, allocations: 51.97 kB / 484.7 MB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.8775, allocations: 31.89 kB / 484.7 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.8776, allocations: 16 kB / 484.7 MB, free: 2.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007913/0.8784, allocations: 338.9 kB / 485.1 MB, free: 2.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.8784, allocations: 0 / 485.1 MB, free: 2.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001636/0.88, allocations: 247.2 kB / 485.3 MB, free: 2.016 MB / 362.7 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.0003098/0.8804, allocations: 115.2 kB / 485.4 MB, free: 1.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003154/0.8835, allocations: 0.5926 MB / 486 MB, free: 1.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/0.8836, allocations: 4 kB / 486 MB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009427/0.8845, allocations: 318.3 kB / 486.3 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.886, allocations: 113.8 kB / 486.4 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/0.8913, allocations: 1.803 MB / 488.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009224/0.8923, allocations: 0.934 MB / 489.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/0.8926, allocations: 43.44 kB / 489.2 MB, free: 14.01 MB / 378.7 MB Notification: Performance of SimCode: time 3.296e-06/0.8926, allocations: 0 / 489.2 MB, free: 14.01 MB / 378.7 MB Notification: Performance of Templates: time 0.0347/0.9273, allocations: 10.89 MB / 0.4884 GB, free: 3.129 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches