Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001349/0.001349, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 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.001087/0.001087, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8741/0.8741, allocations: 158.6 MB / 187.5 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] 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 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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 251.1 MB, free: 7.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.231e-05, allocations: 6.312 kB / 251.2 MB, free: 7.762 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007005/0.007037, allocations: 5.573 MB / 256.7 MB, free: 2.156 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.00957, allocations: 1.185 MB / 257.9 MB, free: 0.957 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.01002, allocations: 23.94 kB / 257.9 MB, free: 0.9336 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.01038, allocations: 170.4 kB / 258.1 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005389/0.01092, allocations: 297.2 kB / 258.4 MB, free: 484 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.0114, allocations: 219.7 kB / 258.6 MB, free: 264 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.01251, allocations: 1.106 MB / 259.7 MB, free: 15.14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006026/0.01311, allocations: 383 kB / 260.1 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007433/0.01386, allocations: 0.6316 MB / 260.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.01436, allocations: 370.9 kB / 261.1 MB, free: 13.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.01449, allocations: 100 kB / 261.2 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.01462, allocations: 96 kB / 261.3 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.01476, allocations: 227.1 kB / 261.5 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.01511, allocations: 371.2 kB / 261.9 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007669/0.01588, allocations: 0.7161 MB / 262.6 MB, free: 12.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.01588, allocations: 0 / 262.6 MB, free: 12.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01588, allocations: 0 / 262.6 MB, free: 12.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.0159, allocations: 0 / 262.6 MB, free: 12.26 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.001632/0.01753, allocations: 1.294 MB / 263.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.01757, allocations: 11.98 kB / 263.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.01781, allocations: 188.3 kB / 264.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.01838, allocations: 395.6 kB / 264.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.01844, allocations: 74.38 kB / 264.5 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.01855, allocations: 96.38 kB / 264.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.0197, allocations: 0.9895 MB / 265.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.01972, allocations: 192 / 265.6 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.868e-05/0.01978, allocations: 40.38 kB / 265.6 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.01981, allocations: 27.94 kB / 265.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.02045, allocations: 351.7 kB / 266 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00332/0.02377, allocations: 2.801 MB / 268.8 MB, free: 5.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.02411, allocations: 221.8 kB / 269 MB, free: 5.504 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.02436, allocations: 184 kB / 269.2 MB, free: 5.316 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.02438, allocations: 8 kB / 269.2 MB, free: 5.309 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.02441, allocations: 50.02 kB / 269.3 MB, free: 5.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=42): time 2.615e-06/0.02441, allocations: 0 / 269.3 MB, free: 5.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.001071/0.02548, allocations: 487.9 kB / 269.7 MB, free: 4.762 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.02552, allocations: 55.41 kB / 269.8 MB, free: 4.695 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.02598, allocations: 0.5101 MB / 270.3 MB, free: 4.168 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.02601, allocations: 33.7 kB / 270.3 MB, free: 4.129 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.02629, allocations: 0.5409 MB / 270.9 MB, free: 3.578 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/0.02639, allocations: 166.6 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.02654, allocations: 136.2 kB / 271.2 MB, free: 3.27 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.02671, allocations: 0.5352 MB / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.02689, allocations: 97.92 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.02729, allocations: 0.4935 MB / 272.3 MB, free: 1.965 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/0.02794, allocations: 0.6392 MB / 272.9 MB, free: 1.156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.02795, allocations: 4 kB / 272.9 MB, free: 1.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00095/0.0289, allocations: 0.6532 MB / 273.6 MB, free: 496 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.02893, allocations: 8 kB / 273.6 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.02894, allocations: 12 kB / 273.6 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003407/0.02928, allocations: 95.7 kB / 273.7 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.02979, allocations: 191.7 kB / 273.9 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004744/0.03453, allocations: 2.313 MB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003882/0.03492, allocations: 79.41 kB / 276.3 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.03496, allocations: 32 kB / 276.3 MB, free: 13.64 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.0002209/0.03518, allocations: 208.3 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/0.03528, allocations: 75.56 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.03535, allocations: 61.19 kB / 276.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.03535, allocations: 12.03 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.03536, allocations: 0 / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.03537, allocations: 3.984 kB / 276.7 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.03588, allocations: 452.1 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.03588, allocations: 0 / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002928/0.03617, allocations: 95.88 kB / 277.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/0.03642, allocations: 83.55 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.03645, allocations: 11.98 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004462/0.04091, allocations: 2.298 MB / 279.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.04091, allocations: 3.938 kB / 279.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006766/0.04159, allocations: 0.5719 MB / 280.2 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.04166, allocations: 55.59 kB / 280.2 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.04172, allocations: 12.03 kB / 280.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.04198, allocations: 43.97 kB / 280.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.04205, allocations: 31.88 kB / 280.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.04207, allocations: 12 kB / 280.3 MB, free: 9.441 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002597/0.04233, allocations: 326.8 kB / 280.6 MB, free: 9.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04233, allocations: 0 / 280.6 MB, free: 9.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003753/0.04608, allocations: 259.3 kB / 280.9 MB, free: 8.871 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.0001349/0.04622, allocations: 111.2 kB / 281 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007689/0.04699, allocations: 0.552 MB / 281.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.04699, allocations: 0 / 281.6 MB, free: 8.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.04734, allocations: 338.8 kB / 281.9 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00048/0.04782, allocations: 97.97 kB / 282 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/0.05283, allocations: 1.272 MB / 283.3 MB, free: 6.418 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.05295, allocations: 146.6 kB / 283.4 MB, free: 6.254 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.05317, allocations: 60.94 kB / 283.5 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.05325, allocations: 44.44 kB / 283.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.05325, allocations: 0 / 283.5 MB, free: 6.148 MB / 266.7 MB Notification: Performance of Templates: time 0.01688/0.07013, allocations: 6.77 MB / 290.3 MB, free: 15.41 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8787686340510845]