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.001741/0.001741, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001861/0.001861, allocations: 149.5 kB / 24.26 MB, free: 168 kB / 18.57 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 1.505/1.505, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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.293e-06/1.293e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.022e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004706/0.004736, allocations: 2.765 MB / 270.1 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.005897, allocations: 0.6037 MB / 270.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.006018, allocations: 7.938 kB / 270.7 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.006187, allocations: 47.56 kB / 270.8 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.006394, allocations: 103 kB / 270.9 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.006603, allocations: 79.88 kB / 270.9 MB, free: 3.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.007022, allocations: 358.7 kB / 271.3 MB, free: 2.742 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.007255, allocations: 99.83 kB / 271.4 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.007518, allocations: 203.6 kB / 271.6 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.007729, allocations: 111.7 kB / 271.7 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.007788, allocations: 39.92 kB / 271.7 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.00785, allocations: 32 kB / 271.8 MB, free: 2.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.007923, allocations: 67.75 kB / 271.8 MB, free: 2.195 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.00807, allocations: 115.7 kB / 271.9 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.008532, allocations: 366.8 kB / 272.3 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.008535, allocations: 0 / 272.3 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008536, allocations: 0 / 272.3 MB, free: 1.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.008542, allocations: 0 / 272.3 MB, free: 1.723 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.001056/0.009598, allocations: 0.6439 MB / 272.9 MB, free: 1.043 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.009633, allocations: 8.922 kB / 273 MB, free: 1.035 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.009746, allocations: 56.73 kB / 273 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.01009, allocations: 204.1 kB / 273.2 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.01012, allocations: 25.03 kB / 273.2 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.365e-05/0.01019, allocations: 32.38 kB / 273.3 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.0107, allocations: 290.1 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.01072, allocations: 192 / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.01075, allocations: 20.36 kB / 273.6 MB, free: 384 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.01076, allocations: 11.94 kB / 273.6 MB, free: 372 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.01113, allocations: 170.5 kB / 273.7 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.01287, allocations: 0.9802 MB / 274.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.01324, allocations: 167.2 kB / 274.9 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.01347, allocations: 127.6 kB / 275 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.0135, allocations: 8 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.01353, allocations: 37.38 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.422e-06/0.01353, allocations: 0 / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.00153/0.01506, allocations: 0.7028 MB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.01512, allocations: 63.33 kB / 275.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.01538, allocations: 263.5 kB / 276.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.01541, allocations: 25.7 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.01558, allocations: 231.2 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.01569, allocations: 95.17 kB / 276.4 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.01578, allocations: 59.64 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002886/0.01607, allocations: 0.5118 MB / 277 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.01633, allocations: 64.53 kB / 277.1 MB, free: 12.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.0165, allocations: 104.5 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.01681, allocations: 199.2 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01682, allocations: 4 kB / 277.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005933/0.01741, allocations: 332.9 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.01743, allocations: 8 kB / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01743, allocations: 0 / 277.7 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.01777, allocations: 103.6 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.01796, allocations: 43.92 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/0.02072, allocations: 2.591 MB / 280.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.02083, allocations: 4 kB / 280.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.02085, allocations: 8 kB / 280.4 MB, free: 9.16 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.000173/0.02102, allocations: 184.6 kB / 280.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.636e-05/0.02109, allocations: 35.8 kB / 280.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.02115, allocations: 25.95 kB / 280.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.02115, allocations: 4 kB / 280.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.02116, allocations: 8.031 kB / 280.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.02116, allocations: 0 / 280.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.02236, allocations: 0.7197 MB / 281.4 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.02236, allocations: 4 kB / 281.4 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.02255, allocations: 43.97 kB / 281.5 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.02282, allocations: 83.56 kB / 281.5 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.02284, allocations: 4 kB / 281.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/0.02527, allocations: 2.474 MB / 284 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02527, allocations: 0 / 284 MB, free: 5.402 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.02614, allocations: 0.5034 MB / 284.5 MB, free: 4.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.02618, allocations: 23.84 kB / 284.5 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.02621, allocations: 4.109 kB / 284.5 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.02636, allocations: 15.97 kB / 284.6 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.02643, allocations: 27.89 kB / 284.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.02644, allocations: 4 kB / 284.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.02661, allocations: 193.6 kB / 284.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02661, allocations: 0 / 284.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000426/0.02703, allocations: 79.94 kB / 284.9 MB, free: 4.535 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.0001347/0.02717, allocations: 102.6 kB / 285 MB, free: 4.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.02792, allocations: 441.3 kB / 285.4 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02792, allocations: 0 / 285.4 MB, free: 3.977 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.02841, allocations: 321.2 kB / 285.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.02878, allocations: 44.09 kB / 285.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.03001, allocations: 0.6544 MB / 286.4 MB, free: 2.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.03018, allocations: 162.8 kB / 286.6 MB, free: 2.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.813e-05/0.03024, allocations: 17.95 kB / 286.6 MB, free: 2.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.03029, allocations: 16.5 kB / 286.6 MB, free: 2.699 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03029, allocations: 4 kB / 286.6 MB, free: 2.695 MB / 266.7 MB Notification: Performance of Templates: time 0.1075/0.1378, allocations: 3.314 MB / 289.9 MB, free: 31.7 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.480493745068088]