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.001792/0.001792, allocations: 111 kB / 21.19 MB, free: 0.6758 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.001372/0.001372, allocations: 215 kB / 24.48 MB, free: 3.98 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.431/1.431, allocations: 230.6 MB / 258.3 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.001608/0.001608, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2363, allocations: 53.35 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002718/0.239, allocations: 1.601 MB / 433.9 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004936/0.244, allocations: 2.988 MB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.2441, allocations: 11.94 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.2444, allocations: 59.69 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.757e-05/0.2444, allocations: 11.86 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.2476, allocations: 1.463 MB / 438.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.2478, allocations: 151.6 kB / 438.6 MB, free: 436 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.2479, allocations: 17.3 kB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.2479, allocations: 63.77 kB / 438.7 MB, free: 352 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.248, allocations: 47.77 kB / 438.7 MB, free: 304 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.248, allocations: 8 kB / 438.7 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.2497, allocations: 1.444 MB / 440.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.809e-05/0.2498, allocations: 35.86 kB / 440.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.783e-05/0.2499, allocations: 43.73 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.251, allocations: 1.219 MB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.251, allocations: 0 / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.251, allocations: 4 kB / 441.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.251, allocations: 0 / 441.5 MB, free: 13.54 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.0008557/0.2519, allocations: 0.4896 MB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2519, allocations: 8.031 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.252, allocations: 16.84 kB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2522, allocations: 167 kB / 442.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2522, allocations: 4.375 kB / 442.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.2523, allocations: 8.375 kB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.2526, allocations: 214 kB / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2526, allocations: 0 / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.2526, allocations: 7.984 kB / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2526, allocations: 0 / 442.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.2527, allocations: 55.95 kB / 442.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005327/0.2533, allocations: 316.2 kB / 442.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.2536, allocations: 122.5 kB / 442.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.505e-05/0.2537, allocations: 48.95 kB / 442.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.2537, allocations: 4 kB / 442.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2538, allocations: 34.56 kB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2538, allocations: 0 / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002165/0.2559, allocations: 0.9962 MB / 443.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.256, allocations: 132.5 kB / 444.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.2562, allocations: 174.2 kB / 444.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2562, allocations: 33.7 kB / 444.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.037e-05/0.2563, allocations: 112.5 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.2563, allocations: 52.8 kB / 444.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.693e-05/0.2564, allocations: 45.7 kB / 444.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.2565, allocations: 326.8 kB / 444.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.2567, allocations: 99.94 kB / 444.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.2569, allocations: 218.4 kB / 445.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.2572, allocations: 200.7 kB / 445.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2572, allocations: 0 / 445.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005372/0.2578, allocations: 306.4 kB / 445.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2578, allocations: 7.938 kB / 445.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2578, allocations: 0 / 445.6 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001818/0.258, allocations: 44.81 kB / 445.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.2582, allocations: 39.92 kB / 445.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.2594, allocations: 1.389 MB / 447.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.2595, allocations: 11.97 kB / 447.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.2595, allocations: 4 kB / 447.1 MB, free: 7.48 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.000127/0.2596, allocations: 145.9 kB / 447.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.2597, allocations: 19.94 kB / 447.3 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.2597, allocations: 21.45 kB / 447.3 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.2597, allocations: 4 kB / 447.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.2597, allocations: 0 / 447.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2598, allocations: 0 / 447.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.26, allocations: 173.2 kB / 447.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.26, allocations: 0 / 447.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.2603, allocations: 55.91 kB / 447.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.2603, allocations: 4 kB / 447.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2603, allocations: 4 kB / 447.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2603, allocations: 0 / 447.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2603, allocations: 0 / 447.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.2608, allocations: 417.4 kB / 447.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.2609, allocations: 11.91 kB / 447.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.2609, allocations: 8.031 kB / 447.9 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.261, allocations: 4 kB / 447.9 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.261, allocations: 7.984 kB / 448 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.261, allocations: 4 kB / 448 MB, free: 6.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.2612, allocations: 136.2 kB / 448.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2612, allocations: 4 kB / 448.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001257/0.2624, allocations: 0.5154 MB / 448.6 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.000924/0.2633, allocations: 0.5303 MB / 449.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006416/0.264, allocations: 373.9 kB / 449.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.264, allocations: 0 / 449.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.2641, allocations: 79.89 kB / 449.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.2645, allocations: 43.84 kB / 449.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.2651, allocations: 401 kB / 450 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.2653, allocations: 122.5 kB / 450.1 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.2654, allocations: 29.06 kB / 450.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.2654, allocations: 19.44 kB / 450.2 MB, free: 4.258 MB / 350.1 MB Notification: Performance of SimCode: time 5.82e-07/0.2654, allocations: 3.938 kB / 450.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of Templates: time 0.01468/0.2801, allocations: 8.151 MB / 458.3 MB, free: 12.12 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 -s gbode -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: 4.517683890997432]