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.001918/0.001918, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002539/0.002539, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001569/0.001569, allocations: 47.94 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2588, allocations: 53.37 MB / 431.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002839/0.2616, allocations: 1.597 MB / 433.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005614/0.2672, allocations: 2.988 MB / 436.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.2673, allocations: 3.938 kB / 436.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.2677, allocations: 59.7 kB / 436.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.2678, allocations: 15.84 kB / 436.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.2715, allocations: 1.466 MB / 437.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.2717, allocations: 151.6 kB / 437.8 MB, free: 408 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2718, allocations: 25.3 kB / 437.9 MB, free: 380 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.324e-05/0.2719, allocations: 51.78 kB / 437.9 MB, free: 328 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.272, allocations: 51.75 kB / 438 MB, free: 276 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.2721, allocations: 8 kB / 438 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.2742, allocations: 1.429 MB / 439.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.315e-05/0.2743, allocations: 39.84 kB / 439.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.192e-05/0.2744, allocations: 39.8 kB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.2757, allocations: 1.216 MB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.2757, allocations: 4 kB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2757, allocations: 0 / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2757, allocations: 4 kB / 440.7 MB, free: 13.53 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.0009973/0.2767, allocations: 0.4896 MB / 441.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.2768, allocations: 8.031 kB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.779e-05/0.2768, allocations: 16.84 kB / 441.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.2771, allocations: 167 kB / 441.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.2772, allocations: 4.375 kB / 441.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.2772, allocations: 8.375 kB / 441.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.2775, allocations: 208.5 kB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2775, allocations: 4 kB / 441.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2775, allocations: 4 kB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2776, allocations: 4 kB / 441.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.2777, allocations: 51.95 kB / 441.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.2783, allocations: 324.1 kB / 442 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000372/0.2787, allocations: 114.6 kB / 442.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.429e-05/0.2788, allocations: 44.83 kB / 442.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.2788, allocations: 4.188 kB / 442.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.2788, allocations: 38.5 kB / 442.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.2788, allocations: 0 / 442.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002195/0.281, allocations: 0.9993 MB / 443.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/0.2811, allocations: 132.5 kB / 443.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.2813, allocations: 174.2 kB / 443.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2813, allocations: 33.7 kB / 443.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.2814, allocations: 108.5 kB / 443.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.2815, allocations: 56.8 kB / 443.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.2815, allocations: 49.7 kB / 443.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2817, allocations: 326.8 kB / 444 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.2819, allocations: 95.95 kB / 444.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.2821, allocations: 212.4 kB / 444.3 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.2824, allocations: 196.8 kB / 444.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2824, allocations: 0 / 444.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005363/0.283, allocations: 314.3 kB / 444.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.283, allocations: 7.938 kB / 444.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.283, allocations: 4 kB / 444.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.2832, allocations: 40.83 kB / 444.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.2834, allocations: 39.91 kB / 444.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.2846, allocations: 1.389 MB / 446.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.2847, allocations: 15.91 kB / 446.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.2848, allocations: 4 kB / 446.3 MB, free: 7.473 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.0001332/0.2849, allocations: 137.9 kB / 446.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.2849, allocations: 19.91 kB / 446.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.985e-05/0.285, allocations: 25.45 kB / 446.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.285, allocations: 0 / 446.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.285, allocations: 4 kB / 446.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.285, allocations: 0 / 446.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.2852, allocations: 173.2 kB / 446.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2852, allocations: 0 / 446.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.2855, allocations: 59.91 kB / 446.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2855, allocations: 0 / 446.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2855, allocations: 0 / 446.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2855, allocations: 4 kB / 446.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2855, allocations: 0 / 446.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005666/0.2861, allocations: 418.3 kB / 447.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.2861, allocations: 11.91 kB / 447.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.2861, allocations: 4 kB / 447.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.2862, allocations: 12.03 kB / 447.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.2863, allocations: 8.125 kB / 447.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.2863, allocations: 0 / 447.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.2864, allocations: 132.2 kB / 447.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2864, allocations: 0 / 447.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001493/0.2879, allocations: 0.5194 MB / 447.8 MB, free: 5.914 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.0009372/0.2888, allocations: 0.5381 MB / 448.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006484/0.2895, allocations: 372.1 kB / 448.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2895, allocations: 0 / 448.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.2896, allocations: 83.89 kB / 448.8 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.29, allocations: 39.78 kB / 448.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.2906, allocations: 394.2 kB / 449.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.2908, allocations: 118.5 kB / 449.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.2909, allocations: 33.05 kB / 449.4 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.2909, allocations: 15.44 kB / 449.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2909, allocations: 7.938 kB / 449.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of Templates: time 0.01491/0.3058, allocations: 8.1 MB / 457.5 MB, free: 12.17 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.792551876977086]