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.001367/0.001367, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001477/0.001477, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.002331/0.002331, allocations: 51.92 kB / 378.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.263, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002897/0.2659, allocations: 1.594 MB / 433.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00509/0.271, allocations: 2.981 MB / 436.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.871e-05/0.2711, allocations: 7.938 kB / 436.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003231/0.2714, allocations: 55.7 kB / 436.2 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.2715, allocations: 19.86 kB / 436.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.275, allocations: 1.467 MB / 437.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.2753, allocations: 163.6 kB / 437.9 MB, free: 460 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.455e-05/0.2754, allocations: 13.31 kB / 437.9 MB, free: 444 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.2754, allocations: 51.84 kB / 437.9 MB, free: 392 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2756, allocations: 63.69 kB / 438 MB, free: 328 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.2756, allocations: 8 kB / 438 MB, free: 320 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.2774, allocations: 1.436 MB / 439.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.03e-05/0.2775, allocations: 39.83 kB / 439.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.919e-05/0.2775, allocations: 43.73 kB / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2788, allocations: 1.212 MB / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2788, allocations: 3.938 kB / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2788, allocations: 0 / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2788, allocations: 4 kB / 440.7 MB, free: 13.57 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.0009571/0.2798, allocations: 0.4897 MB / 441.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2798, allocations: 8.031 kB / 441.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.2799, allocations: 16.84 kB / 441.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.2801, allocations: 159 kB / 441.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.2802, allocations: 8.375 kB / 441.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.2802, allocations: 12.31 kB / 441.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.2805, allocations: 210 kB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2805, allocations: 4 kB / 441.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.2805, allocations: 7.938 kB / 441.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2805, allocations: 0 / 441.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.2807, allocations: 55.95 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005592/0.2812, allocations: 312.2 kB / 442 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.2816, allocations: 130.5 kB / 442.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.118e-05/0.2817, allocations: 40.83 kB / 442.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.2817, allocations: 4 kB / 442.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2817, allocations: 30.56 kB / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.2817, allocations: 0 / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002228/0.284, allocations: 1.003 MB / 443.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.793e-05/0.2841, allocations: 132.5 kB / 443.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.2842, allocations: 178.2 kB / 443.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2843, allocations: 25.7 kB / 443.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.2843, allocations: 116.5 kB / 443.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/0.2844, allocations: 47.59 kB / 443.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.2845, allocations: 45.7 kB / 443.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.2846, allocations: 322.8 kB / 444 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.2848, allocations: 103.9 kB / 444.1 MB, free: 9.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.2851, allocations: 222.8 kB / 444.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.2854, allocations: 200.7 kB / 444.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2854, allocations: 0 / 444.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005693/0.286, allocations: 298.6 kB / 444.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.286, allocations: 15.88 kB / 444.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.286, allocations: 0 / 444.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001973/0.2862, allocations: 48.75 kB / 444.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.2864, allocations: 31.98 kB / 444.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.2877, allocations: 1.401 MB / 446.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.2878, allocations: 11.98 kB / 446.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2878, allocations: 4 kB / 446.4 MB, free: 7.512 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.000136/0.2879, allocations: 145.9 kB / 446.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.288, allocations: 11.91 kB / 446.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.288, allocations: 21.47 kB / 446.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2881, allocations: 0 / 446.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.2881, allocations: 4 kB / 446.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2881, allocations: 0 / 446.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.2883, allocations: 173.2 kB / 446.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2883, allocations: 0 / 446.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.2886, allocations: 55.89 kB / 446.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2886, allocations: 0 / 446.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.2886, allocations: 4 kB / 446.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2886, allocations: 4 kB / 446.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2886, allocations: 0 / 446.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.2892, allocations: 415.2 kB / 447.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.707e-05/0.2892, allocations: 15.84 kB / 447.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.2893, allocations: 4 kB / 447.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2894, allocations: 4 kB / 447.2 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.2894, allocations: 12.02 kB / 447.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.2894, allocations: 11.94 kB / 447.2 MB, free: 6.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.2895, allocations: 120.2 kB / 447.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2895, allocations: 4 kB / 447.3 MB, free: 6.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00147/0.291, allocations: 0.5155 MB / 447.9 MB, free: 5.957 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.001111/0.2921, allocations: 0.5342 MB / 448.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006787/0.2928, allocations: 373.9 kB / 448.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2928, allocations: 4 kB / 448.8 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/0.293, allocations: 82.84 kB / 448.8 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.2933, allocations: 35.86 kB / 448.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.294, allocations: 402.1 kB / 449.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.2942, allocations: 122.5 kB / 449.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.2943, allocations: 33.16 kB / 449.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.2943, allocations: 19.44 kB / 449.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2943, allocations: 0 / 449.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of Templates: time 0.01464/0.3089, allocations: 8.157 MB / 457.6 MB, free: 12.16 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/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: 4.737512550316751]