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.001095/0.001095, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001405/0.001405, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 1.025/1.025, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.004e-06/2.004e-06, allocations: 0 / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.233e-05, allocations: 6.312 kB / 274.2 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00708/0.007112, allocations: 5.553 MB / 279.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.009627, allocations: 1.193 MB / 281 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.009986, allocations: 23.94 kB / 281 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.01031, allocations: 166.4 kB / 281.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004557/0.01077, allocations: 293.2 kB / 281.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.0112, allocations: 231.6 kB / 281.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008018/0.012, allocations: 1.106 MB / 282.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000511/0.01251, allocations: 378.9 kB / 283.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.01306, allocations: 0.6355 MB / 283.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.01347, allocations: 374.9 kB / 284.2 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.01357, allocations: 96 kB / 284.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.01367, allocations: 100 kB / 284.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.0138, allocations: 227.1 kB / 284.6 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.01405, allocations: 371.2 kB / 284.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.01466, allocations: 0.7161 MB / 285.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.01467, allocations: 4 kB / 285.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01467, allocations: 0 / 285.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.01468, allocations: 0 / 285.7 MB, free: 8.898 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.001278/0.01596, allocations: 1.29 MB / 287 MB, free: 7.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.01599, allocations: 8.031 kB / 287 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.0162, allocations: 180.3 kB / 287.1 MB, free: 7.383 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.01662, allocations: 411.5 kB / 287.5 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.01666, allocations: 74.36 kB / 287.6 MB, free: 6.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.01676, allocations: 96.38 kB / 287.7 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009021/0.01767, allocations: 0.9346 MB / 288.6 MB, free: 5.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.01768, allocations: 4.188 kB / 288.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.01774, allocations: 40.38 kB / 288.7 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.01775, allocations: 27.94 kB / 288.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.01807, allocations: 269.7 kB / 289 MB, free: 5.418 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.02099, allocations: 2.805 MB / 291.8 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.02121, allocations: 198.8 kB / 292 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.02137, allocations: 168.1 kB / 292.1 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.02139, allocations: 11.94 kB / 292.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.02142, allocations: 45.39 kB / 292.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 2.084e-06/0.02142, allocations: 0 / 292.2 MB, free: 2.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007711/0.02219, allocations: 428.7 kB / 292.6 MB, free: 1.629 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.02223, allocations: 59.39 kB / 292.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.02255, allocations: 0.502 MB / 293.2 MB, free: 1.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.02258, allocations: 37.7 kB / 293.2 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005858/0.02316, allocations: 0.5486 MB / 293.8 MB, free: 448 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.02324, allocations: 158.6 kB / 293.9 MB, free: 288 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.02337, allocations: 148.2 kB / 294.1 MB, free: 132 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.02353, allocations: 0.5428 MB / 294.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.768e-05/0.02362, allocations: 73.94 kB / 294.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.02391, allocations: 489.2 kB / 295.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.02433, allocations: 0.6002 MB / 295.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.02434, allocations: 4 kB / 295.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0006153/0.02495, allocations: 0.5986 MB / 296.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.02497, allocations: 8 kB / 296.4 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.02498, allocations: 16.06 kB / 296.4 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.02522, allocations: 87.55 kB / 296.5 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.02559, allocations: 195.7 kB / 296.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.02702, allocations: 2.267 MB / 298.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.02731, allocations: 87.38 kB / 299 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-05/0.02734, allocations: 32 kB / 299 MB, free: 10.66 MB / 282.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.0001785/0.02752, allocations: 200.3 kB / 299.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.455e-05/0.0276, allocations: 75.56 kB / 299.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.02765, allocations: 65.19 kB / 299.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.02765, allocations: 4 kB / 299.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.02767, allocations: 4 kB / 299.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.02767, allocations: 0 / 299.4 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.02803, allocations: 364.7 kB / 299.7 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02803, allocations: 0 / 299.7 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.02826, allocations: 95.88 kB / 299.8 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.02846, allocations: 83.55 kB / 299.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.02847, allocations: 7.984 kB / 299.9 MB, free: 9.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.02997, allocations: 2.256 MB / 302.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02997, allocations: 0 / 302.2 MB, free: 7.375 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004775/0.03045, allocations: 0.5213 MB / 302.7 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.0305, allocations: 55.59 kB / 302.8 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.03054, allocations: 11.98 kB / 302.8 MB, free: 6.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.03074, allocations: 48 kB / 302.8 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.0308, allocations: 27.95 kB / 302.8 MB, free: 6.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.03082, allocations: 19.98 kB / 302.9 MB, free: 6.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.031, allocations: 302.7 kB / 303.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.031, allocations: 0 / 303.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000593/0.03159, allocations: 251.3 kB / 303.4 MB, free: 6.133 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.0001384/0.03173, allocations: 115.2 kB / 303.5 MB, free: 6.012 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.03236, allocations: 0.5221 MB / 304 MB, free: 5.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.03236, allocations: 0 / 304 MB, free: 5.473 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.03263, allocations: 328.9 kB / 304.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.03303, allocations: 98.47 kB / 304.4 MB, free: 5.031 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.03468, allocations: 1.271 MB / 305.7 MB, free: 3.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.03478, allocations: 150.6 kB / 305.9 MB, free: 3.551 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.03495, allocations: 64.94 kB / 305.9 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.03521, allocations: 214 kB / 306.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of SimCode: time 1.303e-06/0.03521, allocations: 0 / 306.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of Templates: time 0.01228/0.04749, allocations: 7.426 MB / 313.6 MB, free: 11.99 MB / 298.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.099402487743646]