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.00127/0.00127, allocations: 107.6 kB / 21.19 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.001426/0.001426, allocations: 215.5 kB / 24.48 MB, free: 3.961 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001556/0.001556, allocations: 47.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2962, allocations: 53.37 MB / 432.3 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002954/0.2992, allocations: 1.586 MB / 433.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005134/0.3043, allocations: 2.992 MB / 436.9 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.3044, allocations: 3.938 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.3048, allocations: 67.69 kB / 437 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.928e-05/0.3048, allocations: 7.875 kB / 437 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.3083, allocations: 1.471 MB / 438.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.3086, allocations: 147.6 kB / 438.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3087, allocations: 21.3 kB / 438.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.3088, allocations: 55.83 kB / 438.7 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3089, allocations: 55.7 kB / 438.7 MB, free: 468 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3089, allocations: 8 kB / 438.7 MB, free: 460 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.3108, allocations: 1.444 MB / 440.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.3109, allocations: 31.92 kB / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.3109, allocations: 39.73 kB / 440.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.3122, allocations: 1.224 MB / 441.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3122, allocations: 0 / 441.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3122, allocations: 0 / 441.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3122, allocations: 0 / 441.5 MB, free: 13.71 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.0009602/0.3132, allocations: 0.4936 MB / 442 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3132, allocations: 12.03 kB / 442 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.3133, allocations: 12.84 kB / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.3136, allocations: 170.9 kB / 442.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3136, allocations: 8.375 kB / 442.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.3136, allocations: 12.38 kB / 442.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.3139, allocations: 202.1 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3139, allocations: 0 / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3139, allocations: 8 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3139, allocations: 4 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.3141, allocations: 51.95 kB / 442.4 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.3147, allocations: 320.2 kB / 442.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.315, allocations: 114.6 kB / 442.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.3151, allocations: 44.77 kB / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.3151, allocations: 192 / 442.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3152, allocations: 46.5 kB / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 8.01e-07/0.3152, allocations: 0 / 443 MB, free: 12.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002229/0.3174, allocations: 1.003 MB / 444 MB, free: 11.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.3175, allocations: 128.5 kB / 444.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3177, allocations: 178.2 kB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.3177, allocations: 29.7 kB / 444.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.618e-05/0.3178, allocations: 108.5 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.3178, allocations: 51.59 kB / 444.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.3179, allocations: 45.7 kB / 444.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3181, allocations: 330.8 kB / 444.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.3183, allocations: 91.89 kB / 444.9 MB, free: 10 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.3185, allocations: 220.4 kB / 445.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.3188, allocations: 198 kB / 445.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3188, allocations: 0 / 445.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005684/0.3194, allocations: 316.9 kB / 445.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3194, allocations: 7.938 kB / 445.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3194, allocations: 4 kB / 445.6 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001899/0.3196, allocations: 36.83 kB / 445.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3198, allocations: 39.91 kB / 445.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.3212, allocations: 1.385 MB / 447.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3213, allocations: 11.95 kB / 447.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3213, allocations: 8 kB / 447.1 MB, free: 7.645 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.000149/0.3215, allocations: 133.8 kB / 447.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.3215, allocations: 16.06 kB / 447.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/0.3216, allocations: 33.45 kB / 447.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3216, allocations: 3.938 kB / 447.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.3216, allocations: 0 / 447.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3216, allocations: 0 / 447.3 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.3218, allocations: 169.2 kB / 447.5 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3218, allocations: 4 kB / 447.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.3221, allocations: 55.89 kB / 447.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3221, allocations: 0 / 447.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.3222, allocations: 4 kB / 447.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3222, allocations: 7.938 kB / 447.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3222, allocations: 4 kB / 447.5 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.3227, allocations: 411.2 kB / 447.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.3227, allocations: 11.91 kB / 447.9 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.3228, allocations: 8 kB / 448 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3229, allocations: 8.031 kB / 448 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.3229, allocations: 11.98 kB / 448 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.3229, allocations: 0 / 448 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001079/0.3231, allocations: 128.2 kB / 448.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3231, allocations: 0 / 448.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001538/0.3246, allocations: 0.5194 MB / 448.6 MB, free: 6.082 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.001016/0.3256, allocations: 0.5342 MB / 449.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007732/0.3264, allocations: 369.9 kB / 449.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3264, allocations: 0 / 449.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.3265, allocations: 90.84 kB / 449.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3269, allocations: 31.91 kB / 449.6 MB, free: 5.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000752/0.3276, allocations: 443.8 kB / 450.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3278, allocations: 118.5 kB / 450.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.492e-05/0.3278, allocations: 15.44 kB / 450.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of SimCode: time 6.42e-07/0.3278, allocations: 4 kB / 450.2 MB, free: 4.41 MB / 350.1 MB Notification: Performance of Templates: time 0.01081/0.3386, allocations: 6.217 MB / 456.4 MB, free: 14.19 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 -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: 8.192530722997617]