Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001708/0.001708, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002145/0.002145, allocations: 214.4 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3616, allocations: 53.33 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002852/0.3645, allocations: 1.639 MB / 431.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005234/0.3697, allocations: 3.253 MB / 434.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.3698, allocations: 0 / 434.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.3701, allocations: 67.67 kB / 434.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.667e-05/0.3702, allocations: 7.875 kB / 434.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003236/0.3734, allocations: 1.4 MB / 436.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.3737, allocations: 151.6 kB / 436.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3738, allocations: 25.09 kB / 436.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.03e-05/0.3738, allocations: 47.84 kB / 436.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.374, allocations: 59.69 kB / 436.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.374, allocations: 8 kB / 436.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.3757, allocations: 1.39 MB / 437.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.3758, allocations: 39.78 kB / 437.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.753e-05/0.3759, allocations: 55.66 kB / 437.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.3772, allocations: 1.204 MB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3772, allocations: 0 / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3772, allocations: 0 / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.3772, allocations: 4 kB / 439.1 MB, free: 14.17 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.001075/0.3783, allocations: 0.5572 MB / 439.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3783, allocations: 8.031 kB / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.3784, allocations: 20.83 kB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.3787, allocations: 220.1 kB / 439.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3787, allocations: 12.38 kB / 439.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.3787, allocations: 4.375 kB / 439.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.379, allocations: 129 kB / 440.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.379, allocations: 0 / 440.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.379, allocations: 4 kB / 440.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.379, allocations: 4 kB / 440.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.3792, allocations: 63.89 kB / 440.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.3798, allocations: 384.6 kB / 440.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.3802, allocations: 122.5 kB / 440.6 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.837e-05/0.3803, allocations: 40.84 kB / 440.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3803, allocations: 11.98 kB / 440.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.3803, allocations: 30.56 kB / 440.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3803, allocations: 0 / 440.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002383/0.3827, allocations: 1.219 MB / 441.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/0.3828, allocations: 128.5 kB / 442.1 MB, free: 10.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.383, allocations: 178.3 kB / 442.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.383, allocations: 33.7 kB / 442.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.287e-05/0.3831, allocations: 112.5 kB / 442.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.3832, allocations: 51.58 kB / 442.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.3833, allocations: 45.7 kB / 442.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3835, allocations: 326.8 kB / 442.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.3837, allocations: 95.88 kB / 442.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.3839, allocations: 147.2 kB / 443 MB, free: 9.883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.3842, allocations: 196.8 kB / 443.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3842, allocations: 0 / 443.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000588/0.3848, allocations: 310.1 kB / 443.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.3848, allocations: 7.938 kB / 443.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.3848, allocations: 0 / 443.5 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001951/0.385, allocations: 40.81 kB / 443.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3852, allocations: 39.98 kB / 443.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.3867, allocations: 1.516 MB / 445.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.425e-05/0.3868, allocations: 11.97 kB / 445.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3868, allocations: 4 kB / 445.1 MB, free: 7.609 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.0001513/0.3869, allocations: 137.8 kB / 445.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.387, allocations: 15.91 kB / 445.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.387, allocations: 25.61 kB / 445.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.387, allocations: 4 kB / 445.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.387, allocations: 0 / 445.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.387, allocations: 3.938 kB / 445.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.3874, allocations: 245.5 kB / 445.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3874, allocations: 0 / 445.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.3876, allocations: 51.97 kB / 445.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.3877, allocations: 8 kB / 445.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3877, allocations: 0.6562 kB / 445.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3877, allocations: 0 / 445.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3877, allocations: 0 / 445.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.3883, allocations: 426.3 kB / 446 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.3883, allocations: 89.02 kB / 446.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.3884, allocations: 4.031 kB / 446.1 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3885, allocations: 8 kB / 446.1 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.3885, allocations: 15.86 kB / 446.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3885, allocations: 4 kB / 446.2 MB, free: 6.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3887, allocations: 132.2 kB / 446.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3887, allocations: 0 / 446.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001695/0.3903, allocations: 0.5155 MB / 446.8 MB, free: 5.859 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.001203/0.3915, allocations: 0.5486 MB / 447.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.3923, allocations: 377.9 kB / 447.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3923, allocations: 0 / 447.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3924, allocations: 83.89 kB / 447.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3928, allocations: 27.97 kB / 447.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.3935, allocations: 413.2 kB / 448.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3939, allocations: 0.7359 MB / 449 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.769e-05/0.394, allocations: 33.05 kB / 449 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3941, allocations: 15.44 kB / 449 MB, free: 3.566 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3941, allocations: 0 / 449 MB, free: 3.566 MB / 350.1 MB Notification: Performance of Templates: time 0.01563/0.4097, allocations: 7.968 MB / 457 MB, free: 11.6 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.918096614070237]