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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 181.7 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001113/0.001112, allocations: 88.17 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002934, allocations: 12 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3486, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.4571, allocations: 77.14 MB / 452.9 MB, free: 3.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4574, allocations: 67.97 kB / 453 MB, free: 3.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0127/0.4701, allocations: 4.699 MB / 457.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4701, allocations: 0 / 457.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.4702, allocations: 4 kB / 457.7 MB, free: 14.75 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0008155/0.471, allocations: 0.5343 MB / 458.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.471, allocations: 12.03 kB / 458.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.406e-05/0.4711, allocations: 31.62 kB / 458.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.4714, allocations: 262.4 kB / 458.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.4715, allocations: 20.56 kB / 458.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.4715, allocations: 24 kB / 458.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.472, allocations: 248.9 kB / 458.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.472, allocations: 0 / 458.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.472, allocations: 15.94 kB / 458.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.472, allocations: 12 kB / 458.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.4724, allocations: 182.2 kB / 459 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.4739, allocations: 1.026 MB / 460.1 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003927/0.4743, allocations: 333.5 kB / 460.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.4743, allocations: 192 / 460.4 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4744, allocations: 42.75 kB / 460.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.4744, allocations: 3.938 kB / 460.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.001592/0.476, allocations: 0.7884 MB / 461.2 MB, free: 10.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.476, allocations: 55.34 kB / 461.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.4762, allocations: 173.5 kB / 461.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.4763, allocations: 25.7 kB / 461.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4764, allocations: 176.2 kB / 461.6 MB, free: 10.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.4765, allocations: 90.73 kB / 461.7 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.126e-05/0.4765, allocations: 7.938 kB / 461.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4767, allocations: 338.8 kB / 462.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.4768, allocations: 72.47 kB / 462.1 MB, free: 9.996 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.477, allocations: 102.8 kB / 462.2 MB, free: 9.891 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4771, allocations: 91.95 kB / 462.3 MB, free: 9.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4771, allocations: 4 kB / 462.3 MB, free: 9.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005185/0.4776, allocations: 314 kB / 462.6 MB, free: 9.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.4777, allocations: 11.08 kB / 462.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4777, allocations: 8.109 kB / 462.7 MB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002468/0.4779, allocations: 83.22 kB / 462.7 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.4781, allocations: 51.91 kB / 462.8 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.4801, allocations: 1.92 MB / 464.7 MB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.4803, allocations: 8 kB / 464.7 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.4803, allocations: 7.984 kB / 464.7 MB, free: 7.266 MB / 346.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 () * 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 (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.0001679/0.4805, allocations: 141.8 kB / 464.9 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.4805, allocations: 19.81 kB / 464.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.4806, allocations: 21.88 kB / 464.9 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4806, allocations: 4 kB / 464.9 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.4806, allocations: 16 kB / 464.9 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.4806, allocations: 3.984 kB / 464.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4817, allocations: 0.7489 MB / 465.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4817, allocations: 4 kB / 465.7 MB, free: 6.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.4819, allocations: 35.98 kB / 465.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002065/0.4822, allocations: 72.73 kB / 465.8 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.4822, allocations: 8 kB / 465.8 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.484, allocations: 1.816 MB / 467.6 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.484, allocations: 0 / 467.6 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.4846, allocations: 467.9 kB / 468.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.4847, allocations: 96.81 kB / 468.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.4848, allocations: 8.016 kB / 468.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.4849, allocations: 16 kB / 468.2 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.485, allocations: 23.91 kB / 468.2 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.485, allocations: 4 kB / 468.2 MB, free: 3.531 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.4852, allocations: 144.3 kB / 468.4 MB, free: 3.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.4852, allocations: 4.109 kB / 468.4 MB, free: 3.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004411/0.4856, allocations: 83.94 kB / 468.4 MB, free: 3.305 MB / 346.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 () * 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 (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.0001793/0.4858, allocations: 103.2 kB / 468.5 MB, free: 3.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006731/0.4865, allocations: 366.5 kB / 468.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4865, allocations: 0 / 468.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004141/0.4869, allocations: 262.5 kB / 469.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4872, allocations: 36.05 kB / 469.2 MB, free: 2.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.4886, allocations: 0.9539 MB / 470.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.489, allocations: 0.7713 MB / 470.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.023e-05/0.4891, allocations: 22.28 kB / 470.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.4892, allocations: 19.44 kB / 471 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4892, allocations: 0 / 471 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of Templates: time 0.006589/0.4958, allocations: 2.891 MB / 473.8 MB, free: 13.83 MB / 362.7 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches