Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00104/0.00104, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009876/0.0009876, allocations: 170.6 kB / 24.99 MB, free: 8.793 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 0.9724/0.9724, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 273.1 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.882e-05, allocations: 2.312 kB / 273.1 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.01121/0.01124, allocations: 2.812 MB / 275.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.01248, allocations: 0.6504 MB / 276.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.01263, allocations: 8 kB / 276.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.0128, allocations: 47.5 kB / 276.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.01299, allocations: 95.08 kB / 276.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.01319, allocations: 75.88 kB / 276.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.01356, allocations: 366.7 kB / 277.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/0.0168, allocations: 99.78 kB / 277.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.01699, allocations: 203.6 kB / 277.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.01713, allocations: 107.7 kB / 277.5 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.01716, allocations: 35.94 kB / 277.6 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.924e-05/0.01719, allocations: 32 kB / 277.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.01723, allocations: 67.75 kB / 277.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.01731, allocations: 115.7 kB / 277.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.01752, allocations: 235.1 kB / 278 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.01753, allocations: 3.984 kB / 278 MB, free: 12.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.01753, allocations: 0 / 278 MB, free: 12.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.01753, allocations: 0 / 278 MB, free: 12.86 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0007137/0.01825, allocations: 0.6248 MB / 278.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.01828, allocations: 8.031 kB / 278.6 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.01837, allocations: 56.75 kB / 278.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.01862, allocations: 204.1 kB / 278.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.01863, allocations: 17.03 kB / 278.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.01868, allocations: 28.38 kB / 278.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.01902, allocations: 258.8 kB / 279.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.01903, allocations: 192 / 279.2 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.01905, allocations: 8.375 kB / 279.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.01906, allocations: 11.94 kB / 279.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.01927, allocations: 103.9 kB / 279.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.02038, allocations: 0.8943 MB / 280.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.02065, allocations: 139.1 kB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.02081, allocations: 99.64 kB / 280.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.02083, allocations: 4 kB / 280.4 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.02086, allocations: 37.33 kB / 280.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/0.02086, allocations: 4 kB / 280.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001093/0.02195, allocations: 0.6035 MB / 281.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.02198, allocations: 59.39 kB / 281.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.02215, allocations: 238.7 kB / 281.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.02217, allocations: 29.7 kB / 281.4 MB, free: 9.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.02226, allocations: 215.3 kB / 281.6 MB, free: 8.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.02232, allocations: 99.2 kB / 281.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.977e-05/0.02239, allocations: 55.59 kB / 281.8 MB, free: 8.836 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.02253, allocations: 0.504 MB / 282.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.0226, allocations: 32.55 kB / 282.3 MB, free: 8.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.0227, allocations: 76.45 kB / 282.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.02288, allocations: 127.3 kB / 282.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.02288, allocations: 0 / 282.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003757/0.02326, allocations: 260.9 kB / 282.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.02327, allocations: 4 kB / 282.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.02328, allocations: 0 / 282.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002651/0.02354, allocations: 95.52 kB / 282.9 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.02368, allocations: 43.98 kB / 282.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.02536, allocations: 2.372 MB / 285.3 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.858e-05/0.02544, allocations: 11.94 kB / 285.3 MB, free: 5.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.02545, allocations: 8 kB / 285.3 MB, free: 5.152 MB / 266.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 0.0001093/0.02556, allocations: 164.6 kB / 285.4 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.02561, allocations: 31.98 kB / 285.5 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.02564, allocations: 33.89 kB / 285.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.02564, allocations: 4 kB / 285.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.02565, allocations: 0 / 285.5 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.02565, allocations: 4 kB / 285.5 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.02639, allocations: 0.6183 MB / 286.1 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.02639, allocations: 0 / 286.1 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.02652, allocations: 43.92 kB / 286.2 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001823/0.0267, allocations: 75.64 kB / 286.3 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.02671, allocations: 0 / 286.3 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.02812, allocations: 2.302 MB / 288.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.02812, allocations: 0 / 288.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.02857, allocations: 431.5 kB / 289 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/0.0286, allocations: 27.88 kB / 289 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.02862, allocations: 4 kB / 289 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.02873, allocations: 12 kB / 289 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.02878, allocations: 19.95 kB / 289 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.0288, allocations: 8 kB / 289 MB, free: 1.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.666e-05/0.02889, allocations: 180.9 kB / 289.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02889, allocations: 0 / 289.2 MB, free: 1.012 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003828/0.02927, allocations: 83.94 kB / 289.3 MB, free: 0.9297 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,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 0.0001099/0.02938, allocations: 103.2 kB / 289.4 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004911/0.02988, allocations: 369.1 kB / 289.8 MB, free: 444 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.02988, allocations: 4 kB / 289.8 MB, free: 440 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.03017, allocations: 297.2 kB / 290.1 MB, free: 120 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.03048, allocations: 38.39 kB / 290.1 MB, free: 84 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.03157, allocations: 0.6495 MB / 290.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.268e-05/0.03164, allocations: 96.3 kB / 290.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.957e-05/0.0317, allocations: 17.95 kB / 290.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.03174, allocations: 16.5 kB / 290.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.03174, allocations: 4 kB / 290.9 MB, free: 15.25 MB / 282.7 MB Notification: Performance of Templates: time 0.005923/0.03767, allocations: 3.326 MB / 294.2 MB, free: 11.97 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.0205084891058505]