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.001031/0.001031, 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.000881/0.000881, allocations: 139.9 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.9514/0.9514, allocations: 173.3 MB / 201.5 MB, free: 9.215 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.503e-06/1.503e-06, allocations: 0 / 268.5 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.583e-05, allocations: 6.25 kB / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004108/0.004134, allocations: 2.783 MB / 271.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.005233, allocations: 0.6307 MB / 271.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.005367, allocations: 8 kB / 271.9 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001793/0.005546, allocations: 47.5 kB / 272 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.005758, allocations: 95.12 kB / 272 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.005992, allocations: 75.83 kB / 272.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.006379, allocations: 366.7 kB / 272.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.006602, allocations: 110.4 kB / 272.6 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.006834, allocations: 199.6 kB / 272.8 MB, free: 1.867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.007039, allocations: 107.6 kB / 272.9 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.007095, allocations: 32 kB / 272.9 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.635e-05/0.007142, allocations: 32 kB / 272.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.007204, allocations: 71.73 kB / 273 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.00732, allocations: 111.8 kB / 273.1 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.007619, allocations: 239.1 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.007622, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.007623, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.007627, allocations: 0 / 273.4 MB, free: 1.285 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.0007018/0.008329, allocations: 0.5078 MB / 273.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.008366, allocations: 8.922 kB / 273.9 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.008444, allocations: 48.89 kB / 273.9 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.008657, allocations: 169.3 kB / 274.1 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.00868, allocations: 21.03 kB / 274.1 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.008729, allocations: 32.38 kB / 274.1 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.009035, allocations: 242.7 kB / 274.4 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.009046, allocations: 192 / 274.4 MB, free: 204 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.009068, allocations: 16.36 kB / 274.4 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.009079, allocations: 7.938 kB / 274.4 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.009202, allocations: 72.56 kB / 274.5 MB, free: 104 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.01027, allocations: 0.7042 MB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.01048, allocations: 114.4 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.01061, allocations: 83.88 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.01062, allocations: 11.92 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.01065, allocations: 30.56 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.874e-06/0.01065, allocations: 0 / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.001021/0.01167, allocations: 0.5152 MB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.0117, allocations: 63.28 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.01185, allocations: 179.3 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.01187, allocations: 29.7 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.01195, allocations: 164.6 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.403e-05/0.01201, allocations: 99.14 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.01208, allocations: 49.95 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01218, allocations: 330.8 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.01224, allocations: 24.56 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.01231, allocations: 55.86 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.01245, allocations: 105.6 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01245, allocations: 0 / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003198/0.01277, allocations: 194.2 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01279, allocations: 7.938 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01279, allocations: 0 / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002424/0.01303, allocations: 80.77 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.01318, allocations: 47.91 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.01456, allocations: 1.618 MB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.774e-05/0.01465, allocations: 15.97 kB / 279 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.01466, allocations: 4 kB / 279 MB, free: 11.36 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 9.547e-05/0.01475, allocations: 117.8 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.0148, allocations: 19.98 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.01484, allocations: 29.95 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01484, allocations: 0 / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01485, allocations: 15.92 kB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01485, allocations: 3.938 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.01555, allocations: 447.7 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.01556, allocations: 4 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.01571, allocations: 31.98 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001876/0.0159, allocations: 72.66 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01591, allocations: 8 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.01713, allocations: 1.556 MB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01713, allocations: 4.031 kB / 281.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.01751, allocations: 320.3 kB / 281.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.01753, allocations: 15.86 kB / 281.6 MB, free: 8.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.01757, allocations: 12.09 kB / 281.6 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.01769, allocations: 15.94 kB / 281.6 MB, free: 8.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.01774, allocations: 23.89 kB / 281.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.01775, allocations: 8 kB / 281.6 MB, free: 8.531 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.062e-05/0.01781, allocations: 54.16 kB / 281.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01781, allocations: 0 / 281.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.01822, allocations: 76 kB / 281.8 MB, free: 8.402 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.0001091/0.01833, allocations: 84.36 kB / 281.9 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004507/0.01878, allocations: 299.4 kB / 282.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.01878, allocations: 0 / 282.1 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.01909, allocations: 227.2 kB / 282.4 MB, free: 7.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.01935, allocations: 36.05 kB / 282.4 MB, free: 7.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.02035, allocations: 0.5775 MB / 283 MB, free: 7.125 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.02042, allocations: 88.31 kB / 283.1 MB, free: 7.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.143e-05/0.02049, allocations: 17.95 kB / 283.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.02063, allocations: 91.34 kB / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02063, allocations: 0 / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of Templates: time 0.006511/0.02714, allocations: 3.516 MB / 286.7 MB, free: 3.445 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","",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.6815769602544606]