Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 88.62 kB / 20.96 MB, free: 3.477 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002319/0.002319, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.269e-06/5.269e-06, allocations: 3.984 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/3.108e-05, allocations: 2.312 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002966/0.002997, allocations: 1.583 MB / 268.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005514/0.008511, allocations: 2.949 MB / 271.8 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.911e-05/0.0086, allocations: 7.938 kB / 271.8 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.008951, allocations: 55.75 kB / 271.9 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.009017, allocations: 19.75 kB / 271.9 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003972/0.01299, allocations: 1.5 MB / 273.4 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.01325, allocations: 151.6 kB / 273.6 MB, free: 460 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.811e-05/0.01335, allocations: 21.3 kB / 273.6 MB, free: 436 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.01347, allocations: 83.8 kB / 273.7 MB, free: 352 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.01356, allocations: 35.89 kB / 273.7 MB, free: 316 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.01358, allocations: 8 kB / 273.7 MB, free: 308 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.01541, allocations: 1.417 MB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/0.0155, allocations: 39.84 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.01556, allocations: 31.91 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.01743, allocations: 1.461 MB / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01744, allocations: 0 / 276.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01744, allocations: 4 kB / 276.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.01745, allocations: 3.984 kB / 276.7 MB, free: 13.34 MB / 266.7 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.001078/0.01852, allocations: 0.4973 MB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.01856, allocations: 8.922 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.911e-05/0.01864, allocations: 24.84 kB / 277.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.01891, allocations: 149.6 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.01893, allocations: 8.375 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.01898, allocations: 16.12 kB / 277.4 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.0193, allocations: 209.6 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.01931, allocations: 4 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.01933, allocations: 8 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.01933, allocations: 4 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.01949, allocations: 55.95 kB / 277.6 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.02009, allocations: 308.2 kB / 277.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.02048, allocations: 130.5 kB / 278.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.02058, allocations: 40.83 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.02059, allocations: 192 / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.02063, allocations: 42.5 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.02063, allocations: 4 kB / 278.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.002364/0.02299, allocations: 0.989 MB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.02309, allocations: 128.5 kB / 279.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.02328, allocations: 174.2 kB / 279.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.02331, allocations: 29.7 kB / 279.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.0234, allocations: 108.6 kB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.02346, allocations: 59.47 kB / 279.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.512e-05/0.02355, allocations: 45.7 kB / 279.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.02373, allocations: 326.8 kB / 280 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.02393, allocations: 99.94 kB / 280.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.02419, allocations: 204.5 kB / 280.3 MB, free: 9.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.02463, allocations: 205.6 kB / 280.5 MB, free: 9.191 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.02464, allocations: 0 / 280.5 MB, free: 9.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006044/0.02524, allocations: 322 kB / 280.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.02525, allocations: 4 kB / 280.8 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.02527, allocations: 4 kB / 280.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002238/0.0255, allocations: 44.81 kB / 280.9 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.02567, allocations: 31.92 kB / 280.9 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.02717, allocations: 1.393 MB / 282.3 MB, free: 7.285 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.02727, allocations: 12.02 kB / 282.3 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.02729, allocations: 4 kB / 282.3 MB, free: 7.27 MB / 266.7 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.0001489/0.02744, allocations: 137.8 kB / 282.4 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.02749, allocations: 16.06 kB / 282.4 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.805e-05/0.02756, allocations: 29.47 kB / 282.5 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.02756, allocations: 0 / 282.5 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.02756, allocations: 4 kB / 282.5 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.02756, allocations: 3.984 kB / 282.5 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.0278, allocations: 169.2 kB / 282.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.0278, allocations: 0 / 282.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.0281, allocations: 59.89 kB / 282.7 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.0281, allocations: 0 / 282.7 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.02812, allocations: 8 kB / 282.7 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.02812, allocations: 0 / 282.7 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02812, allocations: 4 kB / 282.7 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006273/0.02875, allocations: 423.1 kB / 283.1 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.62e-05/0.02878, allocations: 15.91 kB / 283.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.0288, allocations: 4 kB / 283.2 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.02892, allocations: 12.03 kB / 283.2 MB, free: 6.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.02897, allocations: 7.984 kB / 283.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.02897, allocations: 0 / 283.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.02909, allocations: 124.2 kB / 283.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02909, allocations: 0 / 283.3 MB, free: 6.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001624/0.03071, allocations: 0.5194 MB / 283.8 MB, free: 5.699 MB / 266.7 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.001287/0.032, allocations: 0.6753 MB / 284.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007385/0.03274, allocations: 380.9 kB / 284.9 MB, free: 4.637 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.03274, allocations: 0 / 284.9 MB, free: 4.637 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.03291, allocations: 83.89 kB / 284.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.03327, allocations: 35.91 kB / 285 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/0.03399, allocations: 388.9 kB / 285.4 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.03412, allocations: 118.7 kB / 285.5 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.88e-05/0.03422, allocations: 33.12 kB / 285.5 MB, free: 3.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.03428, allocations: 16.5 kB / 285.5 MB, free: 3.926 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.03428, allocations: 0 / 285.5 MB, free: 3.926 MB / 266.7 MB Notification: Performance of Templates: time 0.1262/0.1605, allocations: 8.042 MB / 293.6 MB, free: 28.63 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.469468125025742]