Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 116 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001935/0.001935, allocations: 213.7 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.616/1.616, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.84 kB / 378.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2643, allocations: 53.31 MB / 432 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002771/0.2671, allocations: 1.643 MB / 433.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005115/0.2722, allocations: 3.253 MB / 436.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.915e-05/0.2723, allocations: 3.938 kB / 436.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.2726, allocations: 55.69 kB / 437 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.032e-05/0.2726, allocations: 19.86 kB / 437 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.2759, allocations: 1.395 MB / 438.4 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002369/0.2761, allocations: 147.6 kB / 438.6 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.484e-05/0.2762, allocations: 17.11 kB / 438.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.2763, allocations: 55.83 kB / 438.6 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.2764, allocations: 59.64 kB / 438.7 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.2764, allocations: 12 kB / 438.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.2781, allocations: 1.39 MB / 440.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.2782, allocations: 35.91 kB / 440.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.2782, allocations: 51.67 kB / 440.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.2794, allocations: 1.208 MB / 441.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2794, allocations: 0 / 441.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2794, allocations: 0 / 441.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.2794, allocations: 0 / 441.4 MB, free: 14.08 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.0009307/0.2804, allocations: 0.565 MB / 441.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2804, allocations: 8.031 kB / 441.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.2804, allocations: 16.84 kB / 442 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.2807, allocations: 228.5 kB / 442.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2807, allocations: 8.375 kB / 442.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.2807, allocations: 8.375 kB / 442.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.281, allocations: 129 kB / 442.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.281, allocations: 4 kB / 442.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.281, allocations: 0 / 442.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.281, allocations: 4 kB / 442.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.2812, allocations: 59.89 kB / 442.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005698/0.2817, allocations: 384.6 kB / 442.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.2821, allocations: 126.5 kB / 442.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.2821, allocations: 36.84 kB / 442.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.2822, allocations: 0 / 442.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2822, allocations: 42.55 kB / 443 MB, free: 12.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.2822, allocations: 0 / 443 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002222/0.2844, allocations: 1.221 MB / 444.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.2845, allocations: 132.5 kB / 444.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.2847, allocations: 174.3 kB / 444.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.2847, allocations: 33.7 kB / 444.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.2847, allocations: 104.5 kB / 444.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.986e-05/0.2848, allocations: 55.53 kB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.2849, allocations: 41.7 kB / 444.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.285, allocations: 330.8 kB / 445 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.2852, allocations: 95.94 kB / 445.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.2854, allocations: 139.3 kB / 445.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.2857, allocations: 201.6 kB / 445.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2857, allocations: 4 kB / 445.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005295/0.2863, allocations: 298.2 kB / 445.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2863, allocations: 14.66 kB / 445.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2863, allocations: 0 / 445.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.2864, allocations: 53.91 kB / 445.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.2866, allocations: 27.98 kB / 445.9 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.288, allocations: 1.524 MB / 447.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.261e-05/0.2881, allocations: 7.969 kB / 447.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.2881, allocations: 8 kB / 447.4 MB, free: 7.52 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.0001319/0.2882, allocations: 133.9 kB / 447.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.2882, allocations: 15.91 kB / 447.5 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.2883, allocations: 25.52 kB / 447.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2883, allocations: 0 / 447.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.2883, allocations: 3.938 kB / 447.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.2884, allocations: 92.95 kB / 447.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.2884, allocations: 12 kB / 447.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2885, allocations: 7.984 kB / 447.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.2885, allocations: 11.92 kB / 447.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006073/0.2892, allocations: 320.8 kB / 448 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005869/0.2897, allocations: 498.4 kB / 448.5 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000144/0.2899, allocations: 82.94 kB / 448.6 MB, free: 6.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.29, allocations: 136.2 kB / 448.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of Backend: time 2.61e-07/0.29, allocations: 0 / 448.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.2919, allocations: 0.8174 MB / 449.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008241/0.2928, allocations: 0.8105 MB / 450.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of Templates: time 0.01597/0.3087, allocations: 8.224 MB / 458.6 MB, free: 12.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.757167618256062]