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.001117/0.001117, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.00103/0.00103, allocations: 140.3 kB / 24.89 MB, free: 9.207 MB / 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 0.9582/0.9582, allocations: 173.3 MB / 201.5 MB, free: 9.176 MB / 186.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.522e-06/1.522e-06, allocations: 0 / 268.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.064e-05, allocations: 2.312 kB / 268.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003836/0.003857, allocations: 2.826 MB / 271.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.004983, allocations: 0.6346 MB / 272 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.005123, allocations: 4 kB / 272 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.005265, allocations: 51.5 kB / 272 MB, free: 2.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.005444, allocations: 91.14 kB / 272.1 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.005639, allocations: 79.81 kB / 272.2 MB, free: 2.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.00597, allocations: 366.7 kB / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.006161, allocations: 106.4 kB / 272.7 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.006379, allocations: 199.6 kB / 272.9 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.006558, allocations: 107.7 kB / 273 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.209e-05/0.0066, allocations: 32 kB / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.217e-05/0.006642, allocations: 36 kB / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.006691, allocations: 67.75 kB / 273.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.006788, allocations: 115.7 kB / 273.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.007061, allocations: 239.1 kB / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.007064, allocations: 0 / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.007065, allocations: 0 / 273.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.00707, allocations: 0 / 273.4 MB, free: 1.152 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.0006076/0.007678, allocations: 0.5039 MB / 274 MB, free: 0.625 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.007711, allocations: 8.922 kB / 274 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.007778, allocations: 48.89 kB / 274 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.007988, allocations: 165.3 kB / 274.2 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.008008, allocations: 25.03 kB / 274.2 MB, free: 368 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.008049, allocations: 28.38 kB / 274.2 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.008306, allocations: 242.7 kB / 274.5 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.008317, allocations: 4.125 kB / 274.5 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.008337, allocations: 20.31 kB / 274.5 MB, free: 52 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.008347, allocations: 11.92 kB / 274.5 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.008468, allocations: 68.56 kB / 274.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009414/0.00941, allocations: 0.6964 MB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.009603, allocations: 113.4 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.911e-05/0.009702, allocations: 91.53 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.009714, allocations: 4 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.009738, allocations: 30.56 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/0.009739, allocations: 0 / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008603/0.0106, allocations: 0.5203 MB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.01063, allocations: 59.28 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.01076, allocations: 179.3 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.01078, allocations: 29.7 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.372e-05/0.01087, allocations: 164.5 kB / 276.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.01093, allocations: 99.14 kB / 276.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.011, allocations: 45.97 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.553e-05/0.01109, allocations: 330.8 kB / 276.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/0.01114, allocations: 32.55 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.01121, allocations: 55.86 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.01134, allocations: 105.6 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01134, allocations: 0 / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003013/0.01164, allocations: 190.2 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01166, allocations: 7.938 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01166, allocations: 7.969 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002226/0.01189, allocations: 76.8 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.01207, allocations: 51.91 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.01366, allocations: 1.634 MB / 279 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.95e-05/0.01373, allocations: 8 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.01374, allocations: 4 kB / 279.1 MB, free: 11.21 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 8.508e-05/0.01383, allocations: 121.9 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.01387, allocations: 19.98 kB / 279.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.0139, allocations: 29.95 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.0139, allocations: 0 / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.01391, allocations: 7.938 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01391, allocations: 0 / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005828/0.0145, allocations: 451.8 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.0145, allocations: 7.938 kB / 279.7 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.01465, allocations: 43.45 kB / 279.7 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001533/0.0148, allocations: 72.67 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01481, allocations: 4 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.01584, allocations: 1.567 MB / 281.4 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01584, allocations: 0 / 281.4 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.01614, allocations: 328.2 kB / 281.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.213e-05/0.01617, allocations: 19.84 kB / 281.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.01619, allocations: 11.94 kB / 281.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.01629, allocations: 12 kB / 281.7 MB, free: 8.402 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.01633, allocations: 15.95 kB / 281.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.01635, allocations: 8 kB / 281.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.257e-05/0.0164, allocations: 54.16 kB / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0164, allocations: 0 / 281.8 MB, free: 8.324 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003755/0.01678, allocations: 80 kB / 281.9 MB, free: 8.246 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.0001068/0.01688, allocations: 88.34 kB / 282 MB, free: 8.152 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000409/0.01729, allocations: 299.2 kB / 282.3 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.8e-06/0.0173, allocations: 64 / 282.3 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.01757, allocations: 227.2 kB / 282.5 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.01782, allocations: 40.03 kB / 282.5 MB, free: 7.566 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.0188, allocations: 0.5629 MB / 283.1 MB, free: 6.973 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.233e-05/0.01887, allocations: 92.3 kB / 283.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.64e-05/0.01895, allocations: 18.3 kB / 283.2 MB, free: 6.844 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.01908, allocations: 91.34 kB / 283.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.01908, allocations: 4 kB / 283.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of Templates: time 0.006876/0.02596, allocations: 3.596 MB / 286.9 MB, free: 3.215 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 -s gbode -gbm=radauIIA3 -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","",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.7281556501984596]