Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.001085/0.001085, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001575/0.00266, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009044/0.0009044, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002265, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.94/0.94, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09501/1.035, allocations: 52.5 MB / 238.4 MB, free: 4.363 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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 239.7 MB, free: 3.059 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.615e-05, allocations: 3.297 kB / 239.8 MB, free: 3.055 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002487/0.002503, allocations: 2.834 MB / 242.6 MB, free: 212 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006278/0.003131, allocations: 0.6346 MB / 243.2 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.003218, allocations: 4 kB / 243.2 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.221e-05/0.00331, allocations: 47.56 kB / 243.3 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.003426, allocations: 95.12 kB / 243.4 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.003544, allocations: 87.75 kB / 243.5 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.003784, allocations: 362.8 kB / 243.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.003937, allocations: 102.5 kB / 243.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.004106, allocations: 224.5 kB / 244.1 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.004244, allocations: 111.6 kB / 244.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.391e-05/0.004288, allocations: 32 kB / 244.3 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.34e-05/0.004322, allocations: 36 kB / 244.3 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.004362, allocations: 51.81 kB / 244.3 MB, free: 14.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.004428, allocations: 91.88 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.004633, allocations: 219.2 kB / 244.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.004645, allocations: 0 / 244.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004646, allocations: 4 kB / 244.7 MB, free: 14.12 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.004657, allocations: 3.938 kB / 244.7 MB, free: 14.12 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0005908/0.005248, allocations: 0.5622 MB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.005282, allocations: 8.031 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.005341, allocations: 48.89 kB / 245.3 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.005515, allocations: 169.4 kB / 245.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.005534, allocations: 21.03 kB / 245.5 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.005573, allocations: 32.33 kB / 245.5 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.005786, allocations: 242.7 kB / 245.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.005796, allocations: 192 / 245.7 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.005811, allocations: 12.38 kB / 245.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.005819, allocations: 11.94 kB / 245.8 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.251e-05/0.005901, allocations: 72.48 kB / 245.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.006674, allocations: 0.7042 MB / 246.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.006842, allocations: 106.5 kB / 246.6 MB, free: 12.02 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/0.006918, allocations: 79.64 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.00693, allocations: 11.94 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.006954, allocations: 38.56 kB / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.232e-06/0.006955, allocations: 0 / 246.8 MB, free: 11.89 MB / 250.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007103/0.007666, allocations: 0.524 MB / 247.3 MB, free: 11.33 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.007691, allocations: 63.28 kB / 247.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.172e-05/0.007783, allocations: 175.4 kB / 247.5 MB, free: 11.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.007799, allocations: 33.7 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.007859, allocations: 164.5 kB / 247.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.007903, allocations: 99.14 kB / 247.8 MB, free: 10.76 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.007948, allocations: 45.97 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.008023, allocations: 334.8 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.928e-05/0.008052, allocations: 32.48 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.373e-05/0.008096, allocations: 54.8 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.177e-05/0.008187, allocations: 103 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.008189, allocations: 0 / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001857/0.008374, allocations: 194.2 kB / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.008386, allocations: 7.938 kB / 248.6 MB, free: 9.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.00839, allocations: 0 / 248.6 MB, free: 9.973 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001637/0.008554, allocations: 72.84 kB / 248.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.008688, allocations: 51.91 kB / 248.7 MB, free: 9.848 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009541/0.009642, allocations: 1.641 MB / 250.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.009687, allocations: 4 kB / 250.3 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.009694, allocations: 8 kB / 250.3 MB, free: 8.105 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 6.454e-05/0.009759, allocations: 118 kB / 250.5 MB, free: 7.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.009785, allocations: 27.92 kB / 250.5 MB, free: 7.953 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.009809, allocations: 29.95 kB / 250.5 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.00981, allocations: 0 / 250.5 MB, free: 7.93 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.009814, allocations: 7.938 kB / 250.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.009817, allocations: 0 / 250.5 MB, free: 7.922 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.01023, allocations: 439.9 kB / 250.9 MB, free: 7.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01024, allocations: 15.86 kB / 251 MB, free: 7.449 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.01035, allocations: 47.97 kB / 251 MB, free: 7.402 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01036, allocations: 15.91 kB / 251 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.01048, allocations: 68.75 kB / 251.1 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.01049, allocations: 7.984 kB / 251.1 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007886/0.01128, allocations: 1.567 MB / 252.7 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01128, allocations: 0 / 252.7 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.01151, allocations: 332.1 kB / 253 MB, free: 5.309 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.01153, allocations: 11.94 kB / 253 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.0116, allocations: 16.05 kB / 253 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.01163, allocations: 15.97 kB / 253 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.01164, allocations: 8 kB / 253 MB, free: 5.258 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.01168, allocations: 55.27 kB / 253.1 MB, free: 5.203 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01168, allocations: 0 / 253.1 MB, free: 5.203 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.01189, allocations: 80 kB / 253.2 MB, free: 5.125 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 7.191e-05/0.01196, allocations: 88.36 kB / 253.3 MB, free: 5.031 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.01225, allocations: 291.3 kB / 253.5 MB, free: 4.73 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.01226, allocations: 4 kB / 253.6 MB, free: 4.727 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.01245, allocations: 239.3 kB / 253.8 MB, free: 4.477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.01276, allocations: 487.1 kB / 254.3 MB, free: 3.902 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.0145, allocations: 0.5835 MB / 254.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.037e-05/0.01455, allocations: 96.3 kB / 254.9 MB, free: 3.172 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.468e-05/0.01459, allocations: 18.3 kB / 255 MB, free: 3.156 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.0147, allocations: 95.34 kB / 255 MB, free: 3.062 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0147, allocations: 0 / 255 MB, free: 3.062 MB / 250.7 MB Notification: Performance of Templates: time 0.005404/0.0201, allocations: 3.906 MB / 259 MB, free: 15.23 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.550824518315494]