Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001034/0.001034, allocations: 85.08 kB / 23 MB, free: 1.5 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.001024/0.001024, allocations: 172.7 kB / 26.39 MB, free: 7.758 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.9416/0.9416, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 3.938 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.876e-05, allocations: 2.312 kB / 252.3 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002722/0.002741, allocations: 2.731 MB / 255 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.003919, allocations: 0.6357 MB / 255.6 MB, free: 3.832 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.004063, allocations: 4 kB / 255.6 MB, free: 3.828 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.004208, allocations: 55.44 kB / 255.7 MB, free: 3.773 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.004373, allocations: 91.17 kB / 255.8 MB, free: 3.684 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.004568, allocations: 79.83 kB / 255.9 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.00486, allocations: 370.6 kB / 256.2 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.005042, allocations: 95.84 kB / 256.3 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.00522, allocations: 207.5 kB / 256.5 MB, free: 2.941 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.00564, allocations: 103.7 kB / 256.6 MB, free: 2.84 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.005677, allocations: 32 kB / 256.6 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.293e-05/0.00571, allocations: 32 kB / 256.7 MB, free: 2.777 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.005766, allocations: 71.73 kB / 256.8 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.818e-05/0.005854, allocations: 115.7 kB / 256.9 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.006132, allocations: 235.2 kB / 257.1 MB, free: 2.363 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.006135, allocations: 0 / 257.1 MB, free: 2.363 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006136, allocations: 3.938 kB / 257.1 MB, free: 2.359 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.006142, allocations: 0 / 257.1 MB, free: 2.359 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0006033/0.006745, allocations: 0.6364 MB / 257.7 MB, free: 1.684 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.006777, allocations: 11.98 kB / 257.7 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.006843, allocations: 60.7 kB / 257.8 MB, free: 1.613 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.007031, allocations: 200.1 kB / 258 MB, free: 1.391 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.007053, allocations: 25.03 kB / 258 MB, free: 1.367 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.007087, allocations: 28.33 kB / 258.1 MB, free: 1.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.00732, allocations: 230.8 kB / 258.3 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.007332, allocations: 4.125 kB / 258.3 MB, free: 1.09 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.007353, allocations: 16.38 kB / 258.3 MB, free: 1.074 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.007362, allocations: 15.94 kB / 258.3 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.729e-05/0.007459, allocations: 84.5 kB / 258.4 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.008335, allocations: 0.8364 MB / 259.2 MB, free: 88 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.008531, allocations: 135 kB / 259.4 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.618e-05/0.008628, allocations: 87.62 kB / 259.4 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.00864, allocations: 4 kB / 259.5 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.008666, allocations: 37.39 kB / 259.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.703e-06/0.008668, allocations: 4 kB / 259.5 MB, free: 15.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007588/0.009427, allocations: 0.5414 MB / 260 MB, free: 15.21 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.009454, allocations: 59.39 kB / 260.1 MB, free: 15.14 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.009572, allocations: 230.5 kB / 260.3 MB, free: 14.9 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.00959, allocations: 29.7 kB / 260.3 MB, free: 14.87 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.009678, allocations: 219.2 kB / 260.6 MB, free: 14.65 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.009729, allocations: 107.1 kB / 260.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.009786, allocations: 51.62 kB / 260.7 MB, free: 14.48 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.009914, allocations: 0.5001 MB / 261.2 MB, free: 13.97 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-05/0.009952, allocations: 32.53 kB / 261.2 MB, free: 13.94 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.795e-05/0.01001, allocations: 65.55 kB / 261.3 MB, free: 13.87 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.01012, allocations: 103.3 kB / 261.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01012, allocations: 0 / 261.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002685/0.01039, allocations: 244.9 kB / 261.7 MB, free: 13.51 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.0104, allocations: 4 kB / 261.7 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01041, allocations: 0 / 261.7 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.01061, allocations: 87.48 kB / 261.7 MB, free: 13.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01071, allocations: 44.02 kB / 261.8 MB, free: 13.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.01224, allocations: 2.31 MB / 264.1 MB, free: 10.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.982e-05/0.0123, allocations: 8 kB / 264.1 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.01231, allocations: 12.03 kB / 264.1 MB, free: 10.94 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.691e-05/0.0124, allocations: 168.5 kB / 264.3 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.01243, allocations: 27.8 kB / 264.3 MB, free: 10.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.01246, allocations: 33.95 kB / 264.3 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01246, allocations: 4 kB / 264.3 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.01247, allocations: 4 kB / 264.3 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01247, allocations: 0 / 264.3 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.013, allocations: 0.5793 MB / 264.9 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.013, allocations: 0 / 264.9 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.01311, allocations: 43.95 kB / 265 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.01324, allocations: 71.56 kB / 265 MB, free: 9.953 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01325, allocations: 4 kB / 265 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.0144, allocations: 2.232 MB / 267.3 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0144, allocations: 0 / 267.3 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.01469, allocations: 407.1 kB / 267.7 MB, free: 7.188 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.01471, allocations: 23.8 kB / 267.7 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.01473, allocations: 7.984 kB / 267.7 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.01481, allocations: 12 kB / 267.7 MB, free: 7.145 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.01485, allocations: 27.89 kB / 267.7 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.01486, allocations: 4 kB / 267.7 MB, free: 7.113 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.038e-05/0.01492, allocations: 171.8 kB / 267.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01492, allocations: 4 kB / 267.9 MB, free: 6.941 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.01521, allocations: 76 kB / 268 MB, free: 6.867 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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 8.155e-05/0.01529, allocations: 103.2 kB / 268.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003446/0.01563, allocations: 345.8 kB / 268.4 MB, free: 6.395 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.01563, allocations: 0 / 268.4 MB, free: 6.395 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.01585, allocations: 305.2 kB / 268.7 MB, free: 6.074 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.01608, allocations: 40.36 kB / 268.8 MB, free: 6.035 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.01687, allocations: 0.6377 MB / 269.4 MB, free: 5.371 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.672e-05/0.01692, allocations: 96.31 kB / 269.5 MB, free: 5.258 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.824e-05/0.01697, allocations: 17.94 kB / 269.5 MB, free: 5.242 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.01708, allocations: 122.2 kB / 269.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01708, allocations: 0 / 269.6 MB, free: 5.121 MB / 250.7 MB Notification: Performance of Templates: time 0.005358/0.02244, allocations: 3.634 MB / 273.3 MB, free: 1.508 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.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.9297656528651714]