Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009615, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 147.1 kB / 25.6 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9697/0.9697, allocations: 173.4 MB / 202.3 MB, free: 8.25 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 269.2 MB, free: 9.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.475e-05, allocations: 2.312 kB / 269.2 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00464/0.004665, allocations: 5.55 MB / 274.8 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.006773, allocations: 1.161 MB / 276 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.007167, allocations: 24.62 kB / 276 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.007459, allocations: 167.1 kB / 276.1 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.007897, allocations: 300.2 kB / 276.4 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003789/0.008276, allocations: 233.1 kB / 276.7 MB, free: 2.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007436/0.009019, allocations: 1.098 MB / 277.8 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000428/0.009447, allocations: 375 kB / 278.1 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004774/0.009925, allocations: 0.6355 MB / 278.8 MB, free: 176 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.01031, allocations: 386.8 kB / 279.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.288e-05/0.0104, allocations: 96 kB / 279.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.0105, allocations: 100 kB / 279.3 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.01061, allocations: 223.1 kB / 279.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.01085, allocations: 367.2 kB / 279.9 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.01139, allocations: 0.7239 MB / 280.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01139, allocations: 0 / 280.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01139, allocations: 0 / 280.6 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.01141, allocations: 0 / 280.6 MB, free: 14.3 MB / 266.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.001175/0.01259, allocations: 1.29 MB / 281.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.01262, allocations: 12.03 kB / 281.9 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.01278, allocations: 188.3 kB / 282.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.01317, allocations: 399.6 kB / 282.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.01321, allocations: 70.38 kB / 282.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.01329, allocations: 96.33 kB / 282.7 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.01447, allocations: 0.9307 MB / 283.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.01449, allocations: 192 / 283.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.634e-05/0.01454, allocations: 44.38 kB / 283.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.01456, allocations: 27.94 kB / 283.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.01485, allocations: 273.7 kB / 283.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.0172, allocations: 2.805 MB / 286.7 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.01742, allocations: 194.7 kB / 286.9 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.01756, allocations: 166.1 kB / 287.1 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.01758, allocations: 8 kB / 287.1 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.0176, allocations: 41.39 kB / 287.1 MB, free: 7.477 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.683e-06/0.0176, allocations: 11.88 kB / 287.2 MB, free: 7.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007254/0.01833, allocations: 440.7 kB / 287.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.01836, allocations: 55.41 kB / 287.6 MB, free: 6.957 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.01865, allocations: 0.4981 MB / 288.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.01868, allocations: 33.7 kB / 288.2 MB, free: 6.402 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.01892, allocations: 0.5525 MB / 288.7 MB, free: 5.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.727e-05/0.01899, allocations: 162.6 kB / 288.9 MB, free: 5.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.01921, allocations: 148.2 kB / 289 MB, free: 5.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.01935, allocations: 0.539 MB / 289.6 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.01944, allocations: 77.92 kB / 289.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.01975, allocations: 469.5 kB / 290.1 MB, free: 4.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.02013, allocations: 0.6155 MB / 290.7 MB, free: 3.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.02014, allocations: 4 kB / 290.7 MB, free: 3.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006074/0.02074, allocations: 0.5979 MB / 291.3 MB, free: 2.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.02077, allocations: 8 kB / 291.3 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.02078, allocations: 12.72 kB / 291.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.02118, allocations: 99.47 kB / 291.4 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.02153, allocations: 191.7 kB / 291.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.02281, allocations: 2.263 MB / 293.9 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.02311, allocations: 83.44 kB / 294 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.02314, allocations: 28 kB / 294 MB, free: 72 kB / 266.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 (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.000193/0.02333, allocations: 208.3 kB / 294.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.947e-05/0.0234, allocations: 71.61 kB / 294.3 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.02345, allocations: 65.19 kB / 294.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.02346, allocations: 4 kB / 294.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.02346, allocations: 4 kB / 294.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.02347, allocations: 0 / 294.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.0238, allocations: 360.7 kB / 294.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.0238, allocations: 4 kB / 294.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.02401, allocations: 91.88 kB / 294.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.02419, allocations: 83.59 kB / 294.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.02421, allocations: 11.98 kB / 294.9 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.02585, allocations: 2.26 MB / 297.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02585, allocations: 0 / 297.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.02635, allocations: 0.5328 MB / 297.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.02642, allocations: 55.59 kB / 297.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.02645, allocations: 7.984 kB / 297.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.02666, allocations: 52 kB / 297.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.02671, allocations: 27.94 kB / 297.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.02673, allocations: 12 kB / 297.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.0269, allocations: 302.7 kB / 298.1 MB, free: 11.78 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.0269, allocations: 3.938 kB / 298.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000583/0.02748, allocations: 247.4 kB / 298.4 MB, free: 11.53 MB / 282.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 (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.0001202/0.0276, allocations: 111.2 kB / 298.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.02816, allocations: 0.5271 MB / 299 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02817, allocations: 0 / 299 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002697/0.02843, allocations: 325.1 kB / 299.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.02882, allocations: 100.5 kB / 299.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.03045, allocations: 1.268 MB / 300.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.03055, allocations: 150.6 kB / 300.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.03073, allocations: 68.88 kB / 300.9 MB, free: 8.879 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002501/0.03098, allocations: 210.1 kB / 301.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.03098, allocations: 0 / 301.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of Templates: time 0.01042/0.04139, allocations: 7.411 MB / 308.5 MB, free: 1.391 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8738484890200198]