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.00143/0.00143, allocations: 82.27 kB / 20.68 MB, free: 1.035 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.001516/0.001516, allocations: 167 kB / 23.95 MB, free: 4.172 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.463/1.463, allocations: 177.2 MB / 204.3 MB, free: 9.164 MB / 190.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 2.385e-06/2.385e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.857e-05/4.096e-05, allocations: 10.77 kB / 325.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.004402/0.004443, allocations: 1.598 MB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008108/0.01255, allocations: 2.995 MB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.01272, allocations: 5 kB / 329.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.01318, allocations: 55.09 kB / 329.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.628e-05/0.01327, allocations: 11.33 kB / 329.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006434/0.01971, allocations: 1.507 MB / 331.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.02008, allocations: 152.4 kB / 331.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.0202, allocations: 20.17 kB / 331.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.02036, allocations: 73.08 kB / 331.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.02049, allocations: 41.36 kB / 331.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.02053, allocations: 11.86 kB / 331.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.0236, allocations: 1.425 MB / 332.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.02372, allocations: 35.12 kB / 333 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.685e-05/0.02381, allocations: 32.69 kB / 333 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002483/0.02629, allocations: 1.452 MB / 334.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.02629, allocations: 0 / 334.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.02629, allocations: 0 / 334.5 MB, free: 11.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.0263, allocations: 0 / 334.5 MB, free: 11.25 MB / 302.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.001531/0.02783, allocations: 0.4951 MB / 335 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.02788, allocations: 13.36 kB / 335 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.32e-05/0.02797, allocations: 20.23 kB / 335 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.02831, allocations: 148.7 kB / 335.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.02833, allocations: 7.75 kB / 335.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.02838, allocations: 14.81 kB / 335.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.02881, allocations: 203.9 kB / 335.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.02882, allocations: 1.312 kB / 335.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.02885, allocations: 9.094 kB / 335.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.02886, allocations: 1.219 kB / 335.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.02908, allocations: 58.17 kB / 335.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007661/0.02985, allocations: 310.9 kB / 335.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000495/0.03034, allocations: 123.8 kB / 335.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.03047, allocations: 40.34 kB / 335.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.03049, allocations: 5.125 kB / 335.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.03053, allocations: 33.12 kB / 335.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.03053, allocations: 0 / 335.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003201/0.03373, allocations: 0.9915 MB / 336.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.03385, allocations: 132.5 kB / 337 MB, free: 8.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002594/0.03411, allocations: 174.2 kB / 337.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.03415, allocations: 29.7 kB / 337.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.03427, allocations: 116.5 kB / 337.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.03435, allocations: 51.58 kB / 337.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.03447, allocations: 49.7 kB / 337.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.03469, allocations: 330.8 kB / 337.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/0.03497, allocations: 95.95 kB / 337.9 MB, free: 8.047 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.03536, allocations: 204.5 kB / 338.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.03591, allocations: 214.1 kB / 338.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.03591, allocations: 0 / 338.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009072/0.03682, allocations: 310.2 kB / 338.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.03684, allocations: 8 kB / 338.6 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.03687, allocations: 4 kB / 338.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002835/0.03715, allocations: 44.77 kB / 338.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.03741, allocations: 35.91 kB / 338.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.03953, allocations: 1.386 MB / 340.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.03968, allocations: 8.031 kB / 340.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.0397, allocations: 8.156 kB / 340.1 MB, free: 5.699 MB / 302.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.0002397/0.03994, allocations: 145.7 kB / 340.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.04, allocations: 11.91 kB / 340.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.301e-05/0.04007, allocations: 29.45 kB / 340.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.04008, allocations: 0 / 340.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.04008, allocations: 0 / 340.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.04009, allocations: 4 kB / 340.3 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.04045, allocations: 169.2 kB / 340.4 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.04046, allocations: 3.938 kB / 340.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004398/0.0409, allocations: 55.91 kB / 340.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.0409, allocations: 0 / 340.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.04092, allocations: 7.938 kB / 340.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.04093, allocations: 4 kB / 340.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.04093, allocations: 0 / 340.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008679/0.0418, allocations: 403.3 kB / 340.9 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.04183, allocations: 15.84 kB / 340.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.04186, allocations: 3.938 kB / 340.9 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.04203, allocations: 12.03 kB / 340.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.04209, allocations: 15.92 kB / 340.9 MB, free: 4.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.0421, allocations: 8 kB / 341 MB, free: 4.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001516/0.04225, allocations: 124.2 kB / 341.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.04226, allocations: 0 / 341.1 MB, free: 4.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.003105/0.04536, allocations: 0.5116 MB / 341.6 MB, free: 4.145 MB / 302.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.00318/0.04854, allocations: 0.6553 MB / 342.2 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.04958, allocations: 373.8 kB / 342.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.04958, allocations: 4 kB / 342.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002305/0.04981, allocations: 79.95 kB / 342.7 MB, free: 3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.05035, allocations: 44.77 kB / 342.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.05138, allocations: 382 kB / 343.1 MB, free: 2.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.05157, allocations: 114.8 kB / 343.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001459/0.05171, allocations: 41.11 kB / 343.3 MB, free: 2.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.05179, allocations: 16.5 kB / 343.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.05179, allocations: 0 / 343.3 MB, free: 2.375 MB / 302.1 MB Notification: Performance of Templates: time 0.02114/0.07293, allocations: 8.019 MB / 351.3 MB, free: 10.37 MB / 318.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.658926259726286]