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.001046/0.001046, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.002474, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009807/0.0009807, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001298/0.002278, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9013/0.9013, allocations: 173.4 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08088/0.9821, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.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.372e-06/1.372e-06, allocations: 0 / 239.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.951e-05, allocations: 6.312 kB / 239.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006228/0.006248, allocations: 5.615 MB / 245.2 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.009502, allocations: 1.226 MB / 246.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005708/0.01007, allocations: 19.94 kB / 246.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.01045, allocations: 178.3 kB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008096/0.01126, allocations: 285.3 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005616/0.01182, allocations: 235.6 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.01301, allocations: 1.11 MB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006419/0.01365, allocations: 399 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.01455, allocations: 0.6873 MB / 249.3 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005737/0.01512, allocations: 382.8 kB / 249.7 MB, free: 8.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.01529, allocations: 96 kB / 249.8 MB, free: 8.848 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.01543, allocations: 100 kB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.01558, allocations: 159.4 kB / 250.1 MB, free: 8.594 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003428/0.01592, allocations: 303.4 kB / 250.4 MB, free: 8.297 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007537/0.01667, allocations: 0.6539 MB / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.847e-05/0.01669, allocations: 0 / 251 MB, free: 7.641 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01669, allocations: 4 kB / 251 MB, free: 7.637 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.739e-05/0.01672, allocations: 0 / 251 MB, free: 7.637 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.001812/0.01853, allocations: 1.369 MB / 252.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.01856, allocations: 8.031 kB / 252.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.0187, allocations: 152.8 kB / 252.5 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.01903, allocations: 312.9 kB / 252.8 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.01907, allocations: 70.38 kB / 252.9 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.801e-05/0.01915, allocations: 100.4 kB / 253 MB, free: 5.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.01979, allocations: 0.9452 MB / 254 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01981, allocations: 192 / 254 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.01985, allocations: 36.38 kB / 254 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.01986, allocations: 27.94 kB / 254 MB, free: 4.48 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.02011, allocations: 249.7 kB / 254.3 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.02214, allocations: 2.314 MB / 256.6 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.02232, allocations: 181.7 kB / 256.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.02245, allocations: 153.2 kB / 256.9 MB, free: 1.492 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.02246, allocations: 4 kB / 256.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.02249, allocations: 38.56 kB / 256.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.02249, allocations: 0 / 256.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005798/0.02307, allocations: 371.4 kB / 257.3 MB, free: 1.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.0231, allocations: 59.34 kB / 257.4 MB, free: 1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.02334, allocations: 450.8 kB / 257.8 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.02337, allocations: 33.7 kB / 257.8 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.02353, allocations: 471.7 kB / 258.3 MB, free: 40 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.02362, allocations: 170.8 kB / 258.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.02372, allocations: 138.5 kB / 258.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.02381, allocations: 370.4 kB / 259 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.02388, allocations: 65.97 kB / 259 MB, free: 15.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.02407, allocations: 357.3 kB / 259.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.02439, allocations: 0.4907 MB / 259.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.0244, allocations: 7.938 kB / 259.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0004492/0.02485, allocations: 499 kB / 260.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.02486, allocations: 11.94 kB / 260.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.02487, allocations: 8 kB / 260.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.0251, allocations: 85.3 kB / 260.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.02557, allocations: 234.5 kB / 260.7 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009852/0.02655, allocations: 1.583 MB / 262.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.02677, allocations: 91.42 kB / 262.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.0268, allocations: 24 kB / 262.4 MB, free: 11.59 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.0001234/0.02692, allocations: 165.5 kB / 262.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.02697, allocations: 51.89 kB / 262.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.02702, allocations: 61.19 kB / 262.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.02702, allocations: 8 kB / 262.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.02703, allocations: 0 / 262.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02704, allocations: 3.984 kB / 262.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.02732, allocations: 317.4 kB / 263 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02732, allocations: 4 kB / 263 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.02758, allocations: 123.8 kB / 263.1 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.02763, allocations: 59.44 kB / 263.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001675/0.0278, allocations: 77 kB / 263.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.02782, allocations: 15.98 kB / 263.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008506/0.02867, allocations: 1.563 MB / 264.8 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.02867, allocations: 4 kB / 264.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.02901, allocations: 433.4 kB / 265.2 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.02905, allocations: 8 kB / 265.3 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.02922, allocations: 52.06 kB / 265.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.02927, allocations: 31.94 kB / 265.3 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.02929, allocations: 8 kB / 265.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.02941, allocations: 188.3 kB / 265.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02941, allocations: 0 / 265.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004743/0.02988, allocations: 259.3 kB / 265.8 MB, free: 8.051 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.0001163/0.03, allocations: 84.36 kB / 265.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.03047, allocations: 449.7 kB / 266.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.247e-05/0.0305, allocations: 16.48 kB / 266.3 MB, free: 7.492 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.03071, allocations: 266.8 kB / 266.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.03103, allocations: 150.9 kB / 266.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.03562, allocations: 1.293 MB / 268 MB, free: 5.734 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.03573, allocations: 158.6 kB / 268.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.03592, allocations: 64.94 kB / 268.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.03617, allocations: 185.3 kB / 268.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of SimCode: time 1.593e-06/0.03618, allocations: 0 / 268.4 MB, free: 5.316 MB / 266.7 MB Notification: Performance of Templates: time 0.1248/0.161, allocations: 7.734 MB / 276.2 MB, free: 25.57 MB / 266.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 -ignoreHideResult -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.7451479556038976]