Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002262, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008893/0.0008893, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001907, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9942/0.9942, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09214/1.086, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 244.8 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.435e-05, allocations: 5.688 kB / 244.8 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006528/0.006552, allocations: 5.653 MB / 250.4 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002994/0.009545, allocations: 1.261 MB / 251.7 MB, free: 7.207 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.01006, allocations: 23.94 kB / 251.7 MB, free: 7.184 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.01041, allocations: 178.3 kB / 251.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.01105, allocations: 289.2 kB / 252.2 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.01155, allocations: 227.6 kB / 252.4 MB, free: 6.5 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.0127, allocations: 1.102 MB / 253.5 MB, free: 5.395 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006374/0.01334, allocations: 391 kB / 253.9 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009413/0.01428, allocations: 0.6912 MB / 254.6 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.01488, allocations: 382.8 kB / 254.9 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.01505, allocations: 96 kB / 255 MB, free: 3.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.01522, allocations: 96 kB / 255.1 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.01536, allocations: 163.4 kB / 255.3 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.0157, allocations: 303.4 kB / 255.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.01651, allocations: 0.6578 MB / 256.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.01652, allocations: 0 / 256.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01652, allocations: 4 kB / 256.2 MB, free: 2.605 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.01655, allocations: 0 / 256.2 MB, free: 2.605 MB / 250.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.002061/0.01861, allocations: 1.368 MB / 257.6 MB, free: 1.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.01865, allocations: 12.03 kB / 257.6 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.01888, allocations: 148.8 kB / 257.8 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.01945, allocations: 320.9 kB / 258.1 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.955e-05/0.01951, allocations: 66.38 kB / 258.1 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.01963, allocations: 100.4 kB / 258.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.02071, allocations: 0.9375 MB / 259.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.02074, allocations: 4.188 kB / 259.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.772e-05/0.02081, allocations: 40.38 kB / 259.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.02083, allocations: 27.94 kB / 259.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.02119, allocations: 241.8 kB / 259.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.02362, allocations: 2.318 MB / 261.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.02384, allocations: 182.2 kB / 262 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.02398, allocations: 157.8 kB / 262.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.024, allocations: 4 kB / 262.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.02402, allocations: 38.56 kB / 262.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 1.483e-06/0.02402, allocations: 0 / 262.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.000634/0.02466, allocations: 367.5 kB / 262.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.02469, allocations: 59.19 kB / 262.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.02495, allocations: 446.9 kB / 263 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.02498, allocations: 33.7 kB / 263.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.02516, allocations: 475.7 kB / 263.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.665e-05/0.02525, allocations: 170.6 kB / 263.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.02536, allocations: 134.5 kB / 263.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.02547, allocations: 370.6 kB / 264.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.02555, allocations: 69.95 kB / 264.3 MB, free: 10.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.02576, allocations: 357.5 kB / 264.6 MB, free: 9.785 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.02615, allocations: 0.5316 MB / 265.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.02616, allocations: 0 / 265.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.000534/0.02669, allocations: 499 kB / 265.6 MB, free: 8.629 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.02672, allocations: 8 kB / 265.6 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.02673, allocations: 8 kB / 265.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/0.02704, allocations: 89.19 kB / 265.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.02751, allocations: 235.7 kB / 266 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.02865, allocations: 1.579 MB / 267.5 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.02891, allocations: 91.23 kB / 267.6 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.02894, allocations: 28 kB / 267.6 MB, free: 6.512 MB / 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.0001397/0.02908, allocations: 165.6 kB / 267.8 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.02913, allocations: 51.89 kB / 267.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.345e-05/0.02919, allocations: 61.19 kB / 267.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.0292, allocations: 4 kB / 267.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.02921, allocations: 4 kB / 267.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.02922, allocations: 0 / 267.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.0295, allocations: 325.4 kB / 268.2 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.02951, allocations: 0 / 268.2 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.02976, allocations: 123.8 kB / 268.4 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.02982, allocations: 59.56 kB / 268.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.02998, allocations: 76.7 kB / 268.5 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.03, allocations: 12 kB / 268.5 MB, free: 5.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008296/0.03083, allocations: 1.556 MB / 270.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.03083, allocations: 0 / 270.1 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.03118, allocations: 425.8 kB / 270.5 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.03122, allocations: 8 kB / 270.5 MB, free: 3.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.03138, allocations: 48 kB / 270.5 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.03143, allocations: 31.72 kB / 270.6 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.03144, allocations: 12 kB / 270.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001229/0.03157, allocations: 184.4 kB / 270.8 MB, free: 3.258 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.03157, allocations: 0 / 270.8 MB, free: 3.258 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004828/0.03205, allocations: 251.4 kB / 271 MB, free: 3.012 MB / 266.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.0001241/0.03217, allocations: 104.3 kB / 271.1 MB, free: 2.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.03261, allocations: 458.8 kB / 271.6 MB, free: 2.445 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.1e-05/0.03263, allocations: 20.59 kB / 271.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.03286, allocations: 283.2 kB / 271.9 MB, free: 2.133 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.03355, allocations: 1.249 MB / 273.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.03796, allocations: 1.277 MB / 274.4 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.78e-05/0.03806, allocations: 162.5 kB / 274.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.03822, allocations: 61.14 kB / 274.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.03846, allocations: 209.2 kB / 274.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03847, allocations: 0 / 274.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of Templates: time 0.01051/0.04897, allocations: 8.11 MB / 282.9 MB, free: 6.918 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CauerLowPassOPV/CauerLowPassOPV.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8357616206631064]