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.001389/0.001389, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001527/0.001527, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.145/1.145, allocations: 177.2 MB / 205 MB, free: 5.293 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 1.714e-06/1.714e-06, allocations: 0 / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.948e-05, allocations: 5.266 kB / 273 MB, free: 1.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005172/0.005201, allocations: 5.685 MB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.007037, allocations: 1.192 MB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.007316, allocations: 19.94 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.007608, allocations: 174.3 kB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.008, allocations: 293.2 kB / 280.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.008435, allocations: 219.7 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008065/0.009242, allocations: 1.106 MB / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/0.009745, allocations: 391 kB / 282.1 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.01022, allocations: 0.6315 MB / 282.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.01062, allocations: 367 kB / 283.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.888e-05/0.01072, allocations: 100 kB / 283.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/0.01082, allocations: 96 kB / 283.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.01094, allocations: 227.1 kB / 283.5 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.01118, allocations: 363.2 kB / 283.8 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.01176, allocations: 0.7277 MB / 284.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.01177, allocations: 0 / 284.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.01177, allocations: 0 / 284.6 MB, free: 5.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.01178, allocations: 4 kB / 284.6 MB, free: 5.719 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.001327/0.01311, allocations: 1.279 MB / 285.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.01316, allocations: 12.03 kB / 285.9 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.01336, allocations: 184.3 kB / 286 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.01383, allocations: 407.6 kB / 286.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.406e-05/0.01388, allocations: 74.38 kB / 286.5 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.01399, allocations: 96.38 kB / 286.6 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009224/0.01491, allocations: 0.9934 MB / 287.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.01492, allocations: 192 / 287.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.01497, allocations: 36.38 kB / 287.6 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.01499, allocations: 27.94 kB / 287.7 MB, free: 2.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.01546, allocations: 351.7 kB / 288 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1377/0.1532, allocations: 2.772 MB / 290.8 MB, free: 25.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.1536, allocations: 212.1 kB / 291 MB, free: 25.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.1538, allocations: 189.3 kB / 291.2 MB, free: 25.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1539, allocations: 8.125 kB / 291.2 MB, free: 25.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1539, allocations: 46.23 kB / 291.2 MB, free: 25.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 4.088e-06/0.1539, allocations: 1.25 kB / 291.2 MB, free: 25.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001097/0.155, allocations: 486.6 kB / 291.7 MB, free: 25.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.155, allocations: 55.44 kB / 291.8 MB, free: 25.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.1555, allocations: 0.5081 MB / 292.3 MB, free: 24.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.1555, allocations: 34.83 kB / 292.3 MB, free: 24.89 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.1557, allocations: 0.5437 MB / 292.8 MB, free: 24.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.1558, allocations: 163.7 kB / 293 MB, free: 24.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.156, allocations: 143.3 kB / 293.1 MB, free: 24.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.648e-05/0.156, allocations: 0.5312 MB / 293.7 MB, free: 23.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.1562, allocations: 100.8 kB / 293.8 MB, free: 23.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.1565, allocations: 0.4899 MB / 294.3 MB, free: 23.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.157, allocations: 0.6439 MB / 294.9 MB, free: 23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.157, allocations: 6.125 kB / 294.9 MB, free: 23 MB / 266.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00101/0.158, allocations: 0.6443 MB / 295.6 MB, free: 22.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.1581, allocations: 9.312 kB / 295.6 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.1581, allocations: 8.75 kB / 295.6 MB, free: 22.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.1586, allocations: 93.19 kB / 295.7 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.1591, allocations: 199.1 kB / 295.9 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.1604, allocations: 2.305 MB / 298.2 MB, free: 20.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.1608, allocations: 89.69 kB / 298.2 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.1608, allocations: 37.45 kB / 298.3 MB, free: 20.83 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.0001958/0.161, allocations: 205 kB / 298.5 MB, free: 20.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/0.1611, allocations: 72.45 kB / 298.6 MB, free: 20.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.332e-05/0.1611, allocations: 61.91 kB / 298.6 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1612, allocations: 4.391 kB / 298.6 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/0.1612, allocations: 2.125 kB / 298.6 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.1612, allocations: 3.188 kB / 298.6 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005655/0.1617, allocations: 454.9 kB / 299.1 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.1617, allocations: 0.75 kB / 299.1 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.162, allocations: 94.89 kB / 299.2 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002716/0.1623, allocations: 87.44 kB / 299.2 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.1623, allocations: 10.75 kB / 299.3 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.1636, allocations: 2.296 MB / 301.6 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1636, allocations: 0 / 301.6 MB, free: 18.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006548/0.1643, allocations: 0.5801 MB / 302.1 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.1644, allocations: 59.34 kB / 302.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.1644, allocations: 8.047 kB / 302.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.1646, allocations: 47.89 kB / 302.2 MB, free: 17.9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.1647, allocations: 30.22 kB / 302.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.1647, allocations: 18.44 kB / 302.3 MB, free: 17.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002862/0.165, allocations: 321.6 kB / 302.6 MB, free: 17.72 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.165, allocations: 1.406 kB / 302.6 MB, free: 17.72 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008331/0.1658, allocations: 253 kB / 302.9 MB, free: 17.66 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.0001736/0.166, allocations: 115.7 kB / 303 MB, free: 17.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008886/0.1669, allocations: 0.5485 MB / 303.5 MB, free: 17.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1669, allocations: 1.5 kB / 303.5 MB, free: 17.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.1673, allocations: 349.1 kB / 303.9 MB, free: 17.04 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.1677, allocations: 99.86 kB / 304 MB, free: 17.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.1698, allocations: 1.267 MB / 305.2 MB, free: 16.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.17, allocations: 146.8 kB / 305.4 MB, free: 16.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.1702, allocations: 65.39 kB / 305.4 MB, free: 16.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.606e-05/0.1702, allocations: 37.38 kB / 305.5 MB, free: 16.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.923e-06/0.1702, allocations: 1.375 kB / 305.5 MB, free: 16.14 MB / 266.7 MB Notification: Performance of Templates: time 0.01087/0.1811, allocations: 6.806 MB / 312.3 MB, free: 12.84 MB / 266.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.2388877291232347]