Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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.00149/0.00149, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001629/0.001629, allocations: 214.1 kB / 24.48 MB, free: 3.844 MB / 14.72 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.462/1.462, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 52.06 kB / 379 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2681, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002944/0.271, allocations: 1.59 MB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00521/0.2762, allocations: 2.992 MB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.2764, allocations: 7.938 kB / 436.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.2767, allocations: 59.69 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.2768, allocations: 15.86 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003986/0.2808, allocations: 1.464 MB / 438.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.2811, allocations: 151.6 kB / 438.6 MB, free: 488 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2813, allocations: 21.3 kB / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.098e-05/0.2813, allocations: 55.77 kB / 438.7 MB, free: 408 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.2814, allocations: 51.77 kB / 438.7 MB, free: 356 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.2815, allocations: 8 kB / 438.7 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.2835, allocations: 1.432 MB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2836, allocations: 35.86 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.2837, allocations: 47.72 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.285, allocations: 1.212 MB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.285, allocations: 4 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.285, allocations: 4 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.285, allocations: 0 / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001063/0.2861, allocations: 0.4896 MB / 442 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2861, allocations: 8.031 kB / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.2862, allocations: 16.84 kB / 442 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.2865, allocations: 163 kB / 442.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2865, allocations: 4.375 kB / 442.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.2866, allocations: 12.38 kB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.2869, allocations: 208.5 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2869, allocations: 0 / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.2869, allocations: 8 kB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.2869, allocations: 0 / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.2871, allocations: 55.95 kB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.2877, allocations: 312.2 kB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.2881, allocations: 126.5 kB / 442.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-05/0.2882, allocations: 48.95 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.2882, allocations: 4 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.2882, allocations: 34.5 kB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.2882, allocations: 0 / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002293/0.2905, allocations: 0.9963 MB / 443.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.2906, allocations: 128.5 kB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.2908, allocations: 178.2 kB / 444.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.2908, allocations: 29.7 kB / 444.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.2909, allocations: 112.5 kB / 444.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.291, allocations: 47.59 kB / 444.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.455e-05/0.2911, allocations: 49.7 kB / 444.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.2913, allocations: 326.8 kB / 444.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.2915, allocations: 99.95 kB / 444.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.2917, allocations: 208.4 kB / 445.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.292, allocations: 200.7 kB / 445.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.292, allocations: 0 / 445.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005603/0.2926, allocations: 316.4 kB / 445.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.2926, allocations: 13.16 kB / 445.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.2926, allocations: 0 / 445.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/0.2928, allocations: 40.83 kB / 445.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.293, allocations: 39.91 kB / 445.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.2944, allocations: 1.389 MB / 447.1 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.2945, allocations: 8.031 kB / 447.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.2945, allocations: 4 kB / 447.1 MB, free: 7.559 MB / 350.1 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.2946, allocations: 145.9 kB / 447.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.975e-05/0.2947, allocations: 11.91 kB / 447.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.2947, allocations: 25.45 kB / 447.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2947, allocations: 0 / 447.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2947, allocations: 4 kB / 447.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2947, allocations: 0 / 447.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.295, allocations: 177.1 kB / 447.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.295, allocations: 0 / 447.4 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.2953, allocations: 55.91 kB / 447.5 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.2953, allocations: 4.031 kB / 447.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.2953, allocations: 4 kB / 447.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2953, allocations: 4 kB / 447.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2953, allocations: 0 / 447.5 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.2959, allocations: 418.4 kB / 447.9 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.2959, allocations: 11.91 kB / 447.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.2959, allocations: 0 / 447.9 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.296, allocations: 12.03 kB / 447.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.296, allocations: 7.984 kB / 447.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.2961, allocations: 7.938 kB / 448 MB, free: 6.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.2962, allocations: 128.2 kB / 448.1 MB, free: 6.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2962, allocations: 4 kB / 448.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001503/0.2977, allocations: 0.5193 MB / 448.6 MB, free: 5.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009642/0.2986, allocations: 0.5303 MB / 449.1 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007076/0.2994, allocations: 369.9 kB / 449.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.2994, allocations: 4 kB / 449.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.2995, allocations: 79.89 kB / 449.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.2999, allocations: 43.84 kB / 449.6 MB, free: 4.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/0.3006, allocations: 435.8 kB / 450 MB, free: 4.477 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.3008, allocations: 122.5 kB / 450.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.3008, allocations: 15.44 kB / 450.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3008, allocations: 0 / 450.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of Templates: time 0.01113/0.312, allocations: 6.222 MB / 456.4 MB, free: 14.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithDifferentiation.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: 8.056656265631318]