Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 47.92 kB / 371.6 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.24, allocations: 52.17 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003802/0.2438, allocations: 1.597 MB / 425.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007727/0.2515, allocations: 2.938 MB / 428.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.2517, allocations: 3.938 kB / 428.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.2521, allocations: 55.69 kB / 428.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.2522, allocations: 11.88 kB / 428.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005705/0.2579, allocations: 1.47 MB / 429.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.2584, allocations: 147.6 kB / 430 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2585, allocations: 21.23 kB / 430 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.2586, allocations: 51.84 kB / 430.1 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.2588, allocations: 51.75 kB / 430.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.2588, allocations: 8 kB / 430.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.2617, allocations: 1.421 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2618, allocations: 39.84 kB / 431.6 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.2619, allocations: 39.73 kB / 431.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001884/0.2638, allocations: 1.216 MB / 432.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2638, allocations: 4 kB / 432.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2638, allocations: 0 / 432.9 MB, free: 5.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.2638, allocations: 0 / 432.9 MB, free: 5.391 MB / 334.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.001345/0.2652, allocations: 0.5004 MB / 433.4 MB, free: 4.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.2652, allocations: 12.03 kB / 433.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.416e-05/0.2653, allocations: 20.78 kB / 433.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.2656, allocations: 158.3 kB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2657, allocations: 15.88 kB / 433.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.2657, allocations: 12 kB / 433.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.2662, allocations: 209.5 kB / 433.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2662, allocations: 0 / 433.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.2662, allocations: 0 / 433.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.2662, allocations: 7.938 kB / 433.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.2664, allocations: 51.95 kB / 433.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008442/0.2673, allocations: 312.2 kB / 434.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.2678, allocations: 126.6 kB / 434.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.2679, allocations: 36.84 kB / 434.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.2679, allocations: 0 / 434.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.268, allocations: 42.73 kB / 434.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.268, allocations: 3.938 kB / 434.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003091/0.2711, allocations: 0.9855 MB / 435.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.2712, allocations: 136.5 kB / 435.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.2714, allocations: 170.3 kB / 435.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.2715, allocations: 29.69 kB / 435.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.2716, allocations: 112.5 kB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/0.2717, allocations: 55.55 kB / 435.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.2718, allocations: 45.7 kB / 435.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.272, allocations: 330.8 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.2723, allocations: 96.16 kB / 436.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.2726, allocations: 208.5 kB / 436.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.2732, allocations: 204.7 kB / 436.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2732, allocations: 3.938 kB / 436.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008452/0.274, allocations: 314.2 kB / 437 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.274, allocations: 4 kB / 437 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.2741, allocations: 4.047 kB / 437 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/0.2743, allocations: 52.8 kB / 437.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.2745, allocations: 31.92 kB / 437.1 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.2766, allocations: 1.374 MB / 438.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.2767, allocations: 11.97 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2767, allocations: 4 kB / 438.5 MB, free: 15.34 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.0001899/0.2769, allocations: 141.9 kB / 438.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.277, allocations: 15.91 kB / 438.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.031e-05/0.2771, allocations: 29.45 kB / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2771, allocations: 0 / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2771, allocations: 0 / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2771, allocations: 3.938 kB / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000441/0.2775, allocations: 173.2 kB / 438.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.2775, allocations: 4 kB / 438.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.2779, allocations: 47.97 kB / 438.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2779, allocations: 4 kB / 438.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.278, allocations: 7.938 kB / 438.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.278, allocations: 0 / 438.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.278, allocations: 0 / 438.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.2788, allocations: 415.1 kB / 439.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.2789, allocations: 11.98 kB / 439.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.2789, allocations: 8 kB / 439.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2791, allocations: 4 kB / 439.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.2791, allocations: 11.98 kB / 439.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.2792, allocations: 4 kB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.2793, allocations: 140.1 kB / 439.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2793, allocations: 0 / 439.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002233/0.2816, allocations: 0.5155 MB / 440 MB, free: 13.77 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.001741/0.2833, allocations: 0.5562 MB / 440.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009274/0.2842, allocations: 373.9 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.2842, allocations: 4 kB / 440.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.2845, allocations: 87.81 kB / 441 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.285, allocations: 33.8 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.286, allocations: 439.6 kB / 441.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.2862, allocations: 122.6 kB / 441.6 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.017e-05/0.2863, allocations: 15.44 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2863, allocations: 0 / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of Templates: time 0.01176/0.298, allocations: 6.241 MB / 447.9 MB, free: 5.828 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.10000701295212]