Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002329/0.002328, allocations: 181.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001099/0.001098, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.266e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 47.58 MB / 369.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4332/0.5341, allocations: 77.04 MB / 446.1 MB, free: 132 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.5344, allocations: 63.97 kB / 446.2 MB, free: 100 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02023/0.5547, allocations: 4.698 MB / 450.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5547, allocations: 0 / 450.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/0.5548, allocations: 7.938 kB / 450.9 MB, free: 12.1 MB / 330.7 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.001009/0.5558, allocations: 0.521 MB / 451.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5559, allocations: 8.031 kB / 451.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.556, allocations: 31.62 kB / 451.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.5564, allocations: 247.6 kB / 451.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.5564, allocations: 19.44 kB / 451.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.5565, allocations: 28.94 kB / 451.7 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.5571, allocations: 244.5 kB / 452 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5572, allocations: 0 / 452 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.5572, allocations: 13.44 kB / 452 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.5573, allocations: 4 kB / 452 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.5577, allocations: 172.9 kB / 452.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.5601, allocations: 1.026 MB / 453.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005255/0.5607, allocations: 322.8 kB / 453.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005531/0.5612, allocations: 182.7 kB / 453.7 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.5613, allocations: 4.188 kB / 453.7 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.5613, allocations: 30.75 kB / 453.7 MB, free: 9.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 3.497e-06/0.5613, allocations: 8 kB / 453.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001827/0.5632, allocations: 0.6992 MB / 454.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.5633, allocations: 59.39 kB / 454.5 MB, free: 8.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.5635, allocations: 167.9 kB / 454.6 MB, free: 8.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.5636, allocations: 33.58 kB / 454.7 MB, free: 8.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.5637, allocations: 229.2 kB / 454.9 MB, free: 8.441 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.5638, allocations: 90.28 kB / 455 MB, free: 8.363 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.5638, allocations: 7.688 kB / 455 MB, free: 8.363 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.564, allocations: 326.4 kB / 455.3 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.5642, allocations: 59.38 kB / 455.4 MB, free: 8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.5644, allocations: 101.5 kB / 455.5 MB, free: 7.926 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.5646, allocations: 74.77 kB / 455.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5646, allocations: 0 / 455.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008016/0.5655, allocations: 298.6 kB / 455.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5655, allocations: 7.938 kB / 455.8 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.5655, allocations: 7.984 kB / 455.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.566, allocations: 84.3 kB / 455.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.5663, allocations: 47.91 kB / 456 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.5692, allocations: 1.88 MB / 457.9 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.5695, allocations: 12.03 kB / 457.9 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.5695, allocations: 7.906 kB / 457.9 MB, free: 5.754 MB / 330.7 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 () * 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 (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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.5697, allocations: 120.9 kB / 458 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.5698, allocations: 23.75 kB / 458 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.5699, allocations: 29.02 kB / 458.1 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.5699, allocations: 0 / 458.1 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.5699, allocations: 4 kB / 458.1 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.5699, allocations: 3.984 kB / 458.1 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.5716, allocations: 0.735 MB / 458.8 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5717, allocations: 0 / 458.8 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003573/0.572, allocations: 43.91 kB / 458.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/0.5724, allocations: 72.72 kB / 458.9 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.5724, allocations: 5.562 kB / 458.9 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002517/0.575, allocations: 1.784 MB / 460.7 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.575, allocations: 0 / 460.7 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009627/0.576, allocations: 443.9 kB / 461.1 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.5761, allocations: 100.8 kB / 461.2 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.5762, allocations: 4.062 kB / 461.2 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.5765, allocations: 20 kB / 461.3 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.987e-05/0.5766, allocations: 23.97 kB / 461.3 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.5766, allocations: 4 kB / 461.3 MB, free: 2.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.5768, allocations: 144.3 kB / 461.4 MB, free: 2.164 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5768, allocations: 4 kB / 461.4 MB, free: 2.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006067/0.5774, allocations: 76 kB / 461.5 MB, free: 2.086 MB / 330.7 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 () * 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 (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.0001926/0.5776, allocations: 103.2 kB / 461.6 MB, free: 1.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009069/0.5785, allocations: 346.3 kB / 461.9 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.5786, allocations: 3.938 kB / 461.9 MB, free: 1.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006318/0.5792, allocations: 250.3 kB / 462.2 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.5797, allocations: 36.03 kB / 462.2 MB, free: 1.328 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.5813, allocations: 0.6594 MB / 462.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.5818, allocations: 0.7713 MB / 463.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.5819, allocations: 19.44 kB / 463.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5819, allocations: 0 / 463.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of Templates: time 0.009068/0.591, allocations: 3.871 MB / 467.5 MB, free: 11.95 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches