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.0009439/0.0009439, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001152/0.001152, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.9394/0.9394, allocations: 177.1 MB / 205.3 MB, free: 5.496 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 1.202e-06/1.202e-06, allocations: 3.938 kB / 273.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.833e-05, allocations: 2.312 kB / 273.5 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002642/0.002661, allocations: 2.799 MB / 276.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009348/0.003595, allocations: 0.6619 MB / 276.9 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.003715, allocations: 7.938 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.003853, allocations: 43.56 kB / 277 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.004, allocations: 103.1 kB / 277.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.004169, allocations: 75.83 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.004431, allocations: 366.7 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.00459, allocations: 106.4 kB / 277.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.004754, allocations: 207.5 kB / 277.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.004902, allocations: 111.7 kB / 277.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.004937, allocations: 36 kB / 278 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.004967, allocations: 28 kB / 278 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.005009, allocations: 71.69 kB / 278.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.643e-05/0.005085, allocations: 115.7 kB / 278.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.005289, allocations: 227.2 kB / 278.4 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.005292, allocations: 7.984 kB / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005293, allocations: 0 / 278.4 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.005297, allocations: 0 / 278.4 MB, free: 12.33 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.0005029/0.005799, allocations: 0.5001 MB / 278.9 MB, free: 11.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.005831, allocations: 8.031 kB / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.005883, allocations: 44.91 kB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.00605, allocations: 169.3 kB / 279.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.006067, allocations: 25.03 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.006102, allocations: 36.36 kB / 279.2 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.006305, allocations: 238.7 kB / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.006312, allocations: 192 / 279.4 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.006328, allocations: 12.38 kB / 279.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.006336, allocations: 11.94 kB / 279.4 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.006413, allocations: 72.55 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008592/0.007272, allocations: 0.7041 MB / 280.2 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.007432, allocations: 118.4 kB / 280.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/0.007508, allocations: 84.09 kB / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.007518, allocations: 4 kB / 280.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.87e-05/0.007537, allocations: 34.56 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.007539, allocations: 3.938 kB / 280.4 MB, free: 10.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006752/0.008214, allocations: 0.5304 MB / 281 MB, free: 9.598 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.008238, allocations: 59.34 kB / 281 MB, free: 9.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.008324, allocations: 171.4 kB / 281.2 MB, free: 9.348 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.008338, allocations: 33.7 kB / 281.2 MB, free: 9.309 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.008393, allocations: 164.5 kB / 281.4 MB, free: 9.145 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.008431, allocations: 91.2 kB / 281.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.008477, allocations: 53.91 kB / 281.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.008542, allocations: 334.8 kB / 281.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.008571, allocations: 24.55 kB / 281.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.858e-05/0.008619, allocations: 62.78 kB / 281.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.006e-05/0.0087, allocations: 105.5 kB / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.008701, allocations: 0 / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001835/0.008884, allocations: 186.2 kB / 282.2 MB, free: 8.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.008898, allocations: 15.97 kB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.008902, allocations: 0 / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001534/0.009056, allocations: 68.8 kB / 282.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.009145, allocations: 39.98 kB / 282.4 MB, free: 8.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009122/0.01006, allocations: 1.622 MB / 284 MB, free: 6.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.0101, allocations: 11.94 kB / 284 MB, free: 6.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.01011, allocations: 4 kB / 284 MB, free: 6.418 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 7.158e-05/0.01018, allocations: 129.8 kB / 284.1 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.01021, allocations: 19.98 kB / 284.1 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.01023, allocations: 29.95 kB / 284.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01023, allocations: 4 kB / 284.2 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01024, allocations: 0 / 284.2 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01024, allocations: 7.938 kB / 284.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/0.01067, allocations: 447.1 kB / 284.6 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01067, allocations: 0 / 284.6 MB, free: 5.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.01076, allocations: 39.92 kB / 284.7 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.01088, allocations: 68.75 kB / 284.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.01089, allocations: 15.98 kB / 284.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007558/0.01165, allocations: 1.555 MB / 286.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01165, allocations: 0 / 286.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.01188, allocations: 329 kB / 286.6 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.0119, allocations: 15.86 kB / 286.6 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.01191, allocations: 8 kB / 286.6 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.01198, allocations: 7.984 kB / 286.6 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.01201, allocations: 23.91 kB / 286.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.01202, allocations: 11.98 kB / 286.7 MB, free: 3.582 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.548e-05/0.01206, allocations: 54.66 kB / 286.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01206, allocations: 0 / 286.7 MB, free: 3.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.01228, allocations: 76 kB / 286.8 MB, free: 3.453 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 8.607e-05/0.01236, allocations: 88.28 kB / 286.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.01266, allocations: 287 kB / 287.2 MB, free: 3.066 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.01267, allocations: 4 kB / 287.2 MB, free: 3.062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.01298, allocations: 239.2 kB / 287.4 MB, free: 2.812 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.01315, allocations: 36.05 kB / 287.4 MB, free: 2.777 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006855/0.01384, allocations: 0.5553 MB / 288 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.01389, allocations: 96.3 kB / 288.1 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.01393, allocations: 13.95 kB / 288.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.01402, allocations: 91.34 kB / 288.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01402, allocations: 0 / 288.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of Templates: time 0.102/0.116, allocations: 3.505 MB / 291.7 MB, free: 25.09 MB / 266.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: 2.6993169081397355]