Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Filter.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.000979/0.000979, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00105/0.00105, allocations: 169.9 kB / 25.61 MB, free: 8.902 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.9292/0.9292, allocations: 177.2 MB / 206.1 MB, free: 4.523 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.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.[0-9,]+.|Butterworth.x.[0-9,]+.|ChebyshevI.x.[0-9,]+.|CriticalDamping.x.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.Filter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 274.2 MB, free: 4.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.229e-05, allocations: 5.547 kB / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00226/0.002282, allocations: 1.961 MB / 276.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004217/0.0065, allocations: 3.536 MB / 279.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.006655, allocations: 19.75 kB / 279.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.007062, allocations: 183.1 kB / 279.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.066e-05/0.007152, allocations: 59.5 kB / 279.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.01013, allocations: 2.059 MB / 282 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.01053, allocations: 0.4987 MB / 282.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.01064, allocations: 33.25 kB / 282.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.01082, allocations: 247.5 kB / 282.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.01096, allocations: 139.6 kB / 282.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.01099, allocations: 24 kB / 282.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.01247, allocations: 1.877 MB / 284.8 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.0126, allocations: 123.5 kB / 284.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.01268, allocations: 103.7 kB / 285 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.01414, allocations: 2.037 MB / 287.1 MB, free: 7.535 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01414, allocations: 4 kB / 287.1 MB, free: 7.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01414, allocations: 0 / 287.1 MB, free: 7.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.01415, allocations: 0 / 287.1 MB, free: 7.531 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001198/0.01534, allocations: 0.9388 MB / 288 MB, free: 6.551 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.01537, allocations: 12.03 kB / 288 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.01544, allocations: 56.66 kB / 288.1 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.01571, allocations: 301.3 kB / 288.4 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.01573, allocations: 16.66 kB / 288.4 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.01577, allocations: 28.38 kB / 288.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.01607, allocations: 0.5524 MB / 289 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.01608, allocations: 192 / 289 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.01609, allocations: 15.94 kB / 289 MB, free: 5.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.0161, allocations: 4 kB / 289 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.88e-05/0.01617, allocations: 49.58 kB / 289 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005643/0.01673, allocations: 0.5152 MB / 289.6 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.01698, allocations: 143 kB / 289.7 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.01703, allocations: 40.03 kB / 289.7 MB, free: 4.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.01704, allocations: 4 kB / 289.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.01707, allocations: 53.27 kB / 289.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.01707, allocations: 0 / 289.8 MB, free: 4.562 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002644/0.01733, allocations: 192.3 kB / 290 MB, free: 4.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.01745, allocations: 363.8 kB / 290.3 MB, free: 3.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.01775, allocations: 430.4 kB / 290.8 MB, free: 3.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.01778, allocations: 41.69 kB / 290.8 MB, free: 3.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.0179, allocations: 259.5 kB / 291 MB, free: 3.188 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.01795, allocations: 83.22 kB / 291.1 MB, free: 3.105 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.843e-05/0.01805, allocations: 119.3 kB / 291.2 MB, free: 2.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.01819, allocations: 0.539 MB / 291.8 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.01827, allocations: 52.47 kB / 291.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.01849, allocations: 0.507 MB / 292.3 MB, free: 1.738 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.01865, allocations: 151.6 kB / 292.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01866, allocations: 0 / 292.5 MB, free: 1.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0004033/0.01906, allocations: 348.9 kB / 292.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.01907, allocations: 8 kB / 292.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.01909, allocations: 4 kB / 292.8 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002196/0.01931, allocations: 82.92 kB / 292.9 MB, free: 1.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.01945, allocations: 59.91 kB / 293 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.02179, allocations: 5.171 MB / 298.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.02189, allocations: 43.61 kB / 298.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.02191, allocations: 12.22 kB / 298.2 MB, free: 11.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.02202, allocations: 176.5 kB / 298.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.062e-05/0.02209, allocations: 51.72 kB / 298.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.541e-05/0.02214, allocations: 43.84 kB / 298.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.02215, allocations: 0 / 298.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.02215, allocations: 3.938 kB / 298.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.02215, allocations: 4 kB / 298.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.02236, allocations: 209 kB / 298.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.02236, allocations: 4 kB / 298.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.02251, allocations: 39.92 kB / 298.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.02252, allocations: 0 / 298.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.02253, allocations: 11.98 kB / 298.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.02253, allocations: 0 / 298.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.02253, allocations: 4 kB / 298.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.0228, allocations: 367.9 kB / 299.1 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.787e-05/0.02283, allocations: 35.7 kB / 299.1 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.02286, allocations: 12 kB / 299.1 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.222e-05/0.02293, allocations: 8 kB / 299.2 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.02297, allocations: 23.91 kB / 299.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.02298, allocations: 4 kB / 299.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.0231, allocations: 259 kB / 299.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0231, allocations: 0 / 299.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00139/0.02449, allocations: 0.6519 MB / 300.1 MB, free: 9.555 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.0255, allocations: 0.8111 MB / 300.9 MB, free: 8.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008986/0.0264, allocations: 0.8853 MB / 301.8 MB, free: 7.746 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.0264, allocations: 0 / 301.8 MB, free: 7.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.399e-05/0.02647, allocations: 67.53 kB / 301.8 MB, free: 7.676 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.02683, allocations: 106.8 kB / 302 MB, free: 7.578 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008389/0.02767, allocations: 0.7593 MB / 302.7 MB, free: 6.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.145e-05/0.02775, allocations: 128.6 kB / 302.8 MB, free: 6.641 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.02785, allocations: 46.94 kB / 302.9 MB, free: 6.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/0.02806, allocations: 190.1 kB / 303.1 MB, free: 6.406 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02806, allocations: 0 / 303.1 MB, free: 6.406 MB / 282.7 MB Notification: Performance of Templates: time 0.01789/0.04596, allocations: 14.81 MB / 317.9 MB, free: 7.715 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.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.974181110970676]