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.001182/0.001182, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001765/0.001765, allocations: 161 kB / 24.56 MB, free: 12 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.135/1.135, allocations: 177.1 MB / 205 MB, free: 5.633 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.345e-06/2.345e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.697e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004682/0.004718, allocations: 2.839 MB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.006241, allocations: 0.6427 MB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.006438, allocations: 8 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.006631, allocations: 51.5 kB / 276.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002559/0.006887, allocations: 95.06 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.00716, allocations: 79.88 kB / 276.7 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.007646, allocations: 358.7 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.007905, allocations: 103.8 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.008218, allocations: 199.6 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.008481, allocations: 111.7 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.008545, allocations: 32 kB / 277.5 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.776e-05/0.008603, allocations: 36 kB / 277.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.008664, allocations: 67.75 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.008795, allocations: 119.7 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.009141, allocations: 239.1 kB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.009145, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.009147, allocations: 0 / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.009154, allocations: 0 / 277.9 MB, free: 12.57 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.0009128/0.01007, allocations: 0.6248 MB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.01011, allocations: 11.97 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.01022, allocations: 52.75 kB / 278.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.01046, allocations: 196.1 kB / 278.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.01048, allocations: 21.03 kB / 278.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/0.01053, allocations: 32.38 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002987/0.01082, allocations: 258.8 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01084, allocations: 192 / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.01086, allocations: 12.38 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.01087, allocations: 11.94 kB / 279.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.01102, allocations: 99.86 kB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.01208, allocations: 0.8904 MB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.01237, allocations: 135.2 kB / 280.3 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.0125, allocations: 99.59 kB / 280.4 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.01252, allocations: 4 kB / 280.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.01256, allocations: 41.39 kB / 280.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.935e-06/0.01256, allocations: 0 / 280.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001042/0.01361, allocations: 0.6153 MB / 281 MB, free: 9.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.01364, allocations: 55.41 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.01378, allocations: 242.6 kB / 281.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.0138, allocations: 29.7 kB / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.01389, allocations: 223.3 kB / 281.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.01394, allocations: 87.22 kB / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.014, allocations: 55.61 kB / 281.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01414, allocations: 0.5001 MB / 282.2 MB, free: 8.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.472e-05/0.0142, allocations: 40.53 kB / 282.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.01428, allocations: 72.47 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.01442, allocations: 123.3 kB / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01442, allocations: 0 / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003063/0.01473, allocations: 264.9 kB / 282.7 MB, free: 7.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.01474, allocations: 8 kB / 282.7 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.01475, allocations: 0 / 282.7 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.01498, allocations: 79.67 kB / 282.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.0151, allocations: 55.84 kB / 282.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.01656, allocations: 2.372 MB / 285.2 MB, free: 4.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.01662, allocations: 11.98 kB / 285.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.01663, allocations: 8 kB / 285.2 MB, free: 4.859 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.000101/0.01673, allocations: 164.6 kB / 285.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.01677, allocations: 27.84 kB / 285.4 MB, free: 4.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.0168, allocations: 25.97 kB / 285.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.0168, allocations: 0 / 285.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.01681, allocations: 4 kB / 285.4 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.01682, allocations: 8.016 kB / 285.4 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.01744, allocations: 0.6254 MB / 286.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01744, allocations: 0 / 286.1 MB, free: 3.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.01754, allocations: 36.03 kB / 286.1 MB, free: 3.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/0.0177, allocations: 75.66 kB / 286.2 MB, free: 3.836 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01771, allocations: 11.98 kB / 286.2 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.01892, allocations: 2.29 MB / 288.5 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01892, allocations: 0 / 288.5 MB, free: 1.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.01936, allocations: 436.2 kB / 288.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.01938, allocations: 15.86 kB / 288.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.0194, allocations: 11.98 kB / 288.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.019e-05/0.01948, allocations: 8 kB / 288.9 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.01955, allocations: 31.92 kB / 289 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.01956, allocations: 4 kB / 289 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.077e-05/0.01965, allocations: 181 kB / 289.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01965, allocations: 0 / 289.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.01996, allocations: 83.94 kB / 289.2 MB, free: 0.6406 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.0001187/0.02007, allocations: 99.25 kB / 289.3 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.02054, allocations: 373.1 kB / 289.7 MB, free: 148 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02054, allocations: 0 / 289.7 MB, free: 148 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.02079, allocations: 297.2 kB / 290 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.02104, allocations: 35.42 kB / 290 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.02204, allocations: 0.654 MB / 290.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.281e-05/0.0221, allocations: 88.31 kB / 290.8 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.02215, allocations: 13.95 kB / 290.8 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.02219, allocations: 20.5 kB / 290.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.02219, allocations: 0 / 290.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of Templates: time 0.005647/0.02784, allocations: 3.321 MB / 294.1 MB, free: 11.7 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.252304551191628]