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.001319/0.001319, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001456/0.001456, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.564/1.564, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.002057/0.002057, allocations: 59.91 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3468, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.004672/0.3515, allocations: 1.59 MB / 433.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009233/0.3607, allocations: 2.988 MB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.3608, allocations: 3.938 kB / 436.9 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.3613, allocations: 59.7 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.3614, allocations: 19.84 kB / 437 MB, free: 2.055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005997/0.3674, allocations: 1.471 MB / 438.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000366/0.3677, allocations: 155.6 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3679, allocations: 21.3 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.368, allocations: 51.84 kB / 438.7 MB, free: 372 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.3681, allocations: 55.75 kB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.3682, allocations: 8 kB / 438.7 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/0.371, allocations: 1.444 MB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3711, allocations: 35.91 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.3712, allocations: 39.73 kB / 440.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.3733, allocations: 1.211 MB / 441.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3733, allocations: 4 kB / 441.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3733, allocations: 4 kB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3733, allocations: 0 / 441.5 MB, free: 13.56 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.001449/0.3747, allocations: 0.4935 MB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.3748, allocations: 8.031 kB / 442 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.3748, allocations: 16.84 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.3752, allocations: 163 kB / 442.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3752, allocations: 4.375 kB / 442.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.3753, allocations: 12.38 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.3758, allocations: 212.7 kB / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.3758, allocations: 3.984 kB / 442.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.3758, allocations: 8 kB / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3758, allocations: 0 / 442.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.3761, allocations: 55.95 kB / 442.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009236/0.377, allocations: 308.2 kB / 442.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000629/0.3776, allocations: 126.6 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.3778, allocations: 40.84 kB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.3778, allocations: 8.125 kB / 442.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.3779, allocations: 30.56 kB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.963e-06/0.3779, allocations: 3.938 kB / 443 MB, free: 11.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003928/0.3818, allocations: 0.9924 MB / 443.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.382, allocations: 128.5 kB / 444.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.3822, allocations: 178.2 kB / 444.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.3823, allocations: 29.7 kB / 444.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3824, allocations: 112.5 kB / 444.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.803e-05/0.3825, allocations: 51.58 kB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.3826, allocations: 45.7 kB / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3829, allocations: 330.8 kB / 444.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.3832, allocations: 99.94 kB / 444.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.3836, allocations: 204.4 kB / 445.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/0.3842, allocations: 204.7 kB / 445.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3842, allocations: 3.938 kB / 445.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009724/0.3852, allocations: 306.4 kB / 445.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.3852, allocations: 11.94 kB / 445.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.3852, allocations: 1.219 kB / 445.6 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003076/0.3855, allocations: 48.81 kB / 445.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.3858, allocations: 31.92 kB / 445.7 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.388, allocations: 1.393 MB / 447.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3881, allocations: 4.031 kB / 447.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.3882, allocations: 8 kB / 447.1 MB, free: 7.512 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.0002327/0.3884, allocations: 145.9 kB / 447.2 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.3885, allocations: 11.91 kB / 447.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.867e-05/0.3885, allocations: 25.45 kB / 447.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3886, allocations: 0 / 447.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3886, allocations: 0 / 447.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3886, allocations: 4 kB / 447.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.389, allocations: 173.2 kB / 447.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.389, allocations: 3.938 kB / 447.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.3895, allocations: 55.91 kB / 447.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3896, allocations: 4 kB / 447.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.3896, allocations: 0 / 447.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.3896, allocations: 4 kB / 447.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3896, allocations: 0 / 447.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.3906, allocations: 418.5 kB / 447.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.666e-05/0.3906, allocations: 11.91 kB / 447.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.3907, allocations: 4.031 kB / 447.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.3909, allocations: 11.94 kB / 448 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.391, allocations: 7.984 kB / 448 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.391, allocations: 4 kB / 448 MB, free: 6.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.3911, allocations: 128.2 kB / 448.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3911, allocations: 0 / 448.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002538/0.3937, allocations: 0.5232 MB / 448.6 MB, free: 5.945 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.001701/0.3954, allocations: 0.5342 MB / 449.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.3965, allocations: 369.9 kB / 449.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.3965, allocations: 4 kB / 449.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.3968, allocations: 83.88 kB / 449.6 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.3974, allocations: 35.86 kB / 449.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.3984, allocations: 390.2 kB / 450 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.3987, allocations: 126.5 kB / 450.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.3988, allocations: 41.14 kB / 450.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.065e-05/0.3989, allocations: 15.44 kB / 450.2 MB, free: 4.285 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.3989, allocations: 0 / 450.2 MB, free: 4.285 MB / 350.1 MB Notification: Performance of Templates: time 0.02345/0.4224, allocations: 8.162 MB / 458.4 MB, free: 12.14 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 cvode -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: 6.560512132011354]