Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001695/0.001695, allocations: 101.8 kB / 21.93 MB, free: 5.203 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.00178/0.00178, allocations: 203.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 207.7 MB / 236.1 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 55.86 kB / 348.4 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2546, allocations: 49.16 MB / 397.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002899/0.2575, allocations: 1.577 MB / 399.2 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00488/0.2623, allocations: 2.99 MB / 402.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.2625, allocations: 5.344 kB / 402.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.2629, allocations: 55.66 kB / 402.2 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.263, allocations: 14.27 kB / 402.2 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.2675, allocations: 1.467 MB / 403.7 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.2679, allocations: 146.4 kB / 403.8 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.268, allocations: 15.36 kB / 403.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.2681, allocations: 58.11 kB / 403.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2682, allocations: 51.75 kB / 404 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.2682, allocations: 8.719 kB / 404 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.2708, allocations: 1.432 MB / 405.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.2709, allocations: 35.11 kB / 405.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.731e-05/0.2709, allocations: 39.16 kB / 405.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.2726, allocations: 1.221 MB / 406.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2726, allocations: 0 / 406.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2726, allocations: 0 / 406.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2726, allocations: 0.6562 kB / 406.7 MB, free: 5.211 MB / 318.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.001153/0.2737, allocations: 0.4903 MB / 407.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2738, allocations: 17.67 kB / 407.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.2738, allocations: 20.06 kB / 407.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.274, allocations: 155.1 kB / 407.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2741, allocations: 7.219 kB / 407.4 MB, free: 4.703 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.2741, allocations: 11.8 kB / 407.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.2744, allocations: 210.5 kB / 407.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.2744, allocations: 0 / 407.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.2744, allocations: 1.219 kB / 407.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2744, allocations: 2.438 kB / 407.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.2745, allocations: 53.86 kB / 407.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.275, allocations: 318 kB / 408 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.2754, allocations: 125.2 kB / 408.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.2754, allocations: 39.55 kB / 408.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.2755, allocations: 5.469 kB / 408.1 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.2755, allocations: 39.91 kB / 408.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.2755, allocations: 0 / 408.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001852/0.2773, allocations: 0.9878 MB / 409.2 MB, free: 3.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2774, allocations: 134.9 kB / 409.3 MB, free: 3.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2775, allocations: 176.4 kB / 409.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2775, allocations: 30.7 kB / 409.5 MB, free: 3.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.2776, allocations: 119.1 kB / 409.6 MB, free: 2.918 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.451e-05/0.2776, allocations: 54.33 kB / 409.7 MB, free: 2.871 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.2777, allocations: 48.33 kB / 409.7 MB, free: 2.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.2777, allocations: 331.2 kB / 410 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.2779, allocations: 90.27 kB / 410.1 MB, free: 2.469 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.278, allocations: 215.3 kB / 410.3 MB, free: 2.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.2783, allocations: 204.3 kB / 410.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2783, allocations: 3.938 kB / 410.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004793/0.2788, allocations: 301.8 kB / 410.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2788, allocations: 13.3 kB / 410.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.2788, allocations: 5.141 kB / 410.8 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.279, allocations: 41.98 kB / 410.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.2792, allocations: 35.88 kB / 410.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009025/0.2801, allocations: 1.386 MB / 412.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.2802, allocations: 12.58 kB / 412.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.2802, allocations: 4.312 kB / 412.3 MB, free: 0.6094 MB / 318.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 9.691e-05/0.2803, allocations: 137.9 kB / 412.5 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.2803, allocations: 13.91 kB / 412.5 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.413e-05/0.2804, allocations: 25.22 kB / 412.5 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2804, allocations: 1.156 kB / 412.5 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2804, allocations: 4.984 kB / 412.5 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2804, allocations: 4.094 kB / 412.5 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.2805, allocations: 169.5 kB / 412.7 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2805, allocations: 1.406 kB / 412.7 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.2808, allocations: 55.06 kB / 412.7 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2808, allocations: 8.922 kB / 412.7 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.2808, allocations: 5.219 kB / 412.7 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2808, allocations: 1.281 kB / 412.7 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2808, allocations: 4 kB / 412.7 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.2813, allocations: 407 kB / 413.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.596e-05/0.2813, allocations: 16.22 kB / 413.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.2814, allocations: 6.062 kB / 413.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.2815, allocations: 7.062 kB / 413.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.2815, allocations: 7.234 kB / 413.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.2815, allocations: 9.938 kB / 413.2 MB, free: 15.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2816, allocations: 128.2 kB / 413.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2816, allocations: 0 / 413.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002307/0.284, allocations: 0.5164 MB / 413.8 MB, free: 15.82 MB / 334.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.001605/0.2856, allocations: 0.5564 MB / 414.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008035/0.2864, allocations: 375.4 kB / 414.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2864, allocations: 0 / 414.8 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.2865, allocations: 81.67 kB / 414.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.2869, allocations: 36.66 kB / 414.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.2876, allocations: 435.3 kB / 415.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.2878, allocations: 125.1 kB / 415.4 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.2878, allocations: 16.06 kB / 415.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2878, allocations: 0 / 415.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of Templates: time 0.01344/0.3013, allocations: 6.243 MB / 421.7 MB, free: 10.53 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.414641115814447]