Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.001583/0.001583, allocations: 120.4 kB / 17.79 MB, free: 5.355 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.001783/0.001783, allocations: 203.3 kB / 20.74 MB, free: 2.41 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.529/1.529, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 43.94 kB / 373.5 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.126, allocations: 53.34 MB / 426.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003172/0.1291, allocations: 1.847 MB / 428.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2347/0.3638, allocations: 3.567 MB / 432.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.364, allocations: 13.62 kB / 432.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.3645, allocations: 133.5 kB / 432.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.3646, allocations: 32.88 kB / 432.4 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004656/0.3692, allocations: 1.775 MB / 434.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.3697, allocations: 309.7 kB / 434.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3699, allocations: 21.61 kB / 434.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.3701, allocations: 115.7 kB / 434.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.3703, allocations: 117.8 kB / 434.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.3703, allocations: 15.12 kB / 434.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.3706, allocations: 152.9 kB / 434.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3707, allocations: 72.03 kB / 434.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.41e-05/0.3708, allocations: 102.4 kB / 435 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004999/0.3713, allocations: 338.1 kB / 435.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3713, allocations: 0 / 435.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3713, allocations: 1.219 kB / 435.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3713, allocations: 0.5156 kB / 435.4 MB, free: 8.258 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008834/0.3722, allocations: 0.5889 MB / 436 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3722, allocations: 8.812 kB / 436 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/0.3723, allocations: 32.14 kB / 436 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.3727, allocations: 286.2 kB / 436.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3727, allocations: 10.41 kB / 436.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.3728, allocations: 19.78 kB / 436.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.3731, allocations: 204.7 kB / 436.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3731, allocations: 1.125 kB / 436.5 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3732, allocations: 8.531 kB / 436.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.3732, allocations: 2.219 kB / 436.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.3734, allocations: 93.91 kB / 436.6 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/0.3742, allocations: 497.2 kB / 437.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.3745, allocations: 159.7 kB / 437.3 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.3746, allocations: 57.2 kB / 437.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3747, allocations: 1.156 kB / 437.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3747, allocations: 42.34 kB / 437.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.3747, allocations: 0 / 437.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005166/0.3752, allocations: 218.8 kB / 437.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.3753, allocations: 287.4 kB / 437.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3756, allocations: 282.7 kB / 438.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.3756, allocations: 28.41 kB / 438.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.3757, allocations: 160.7 kB / 438.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3757, allocations: 52.77 kB / 438.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.3758, allocations: 67.77 kB / 438.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.3759, allocations: 343.5 kB / 438.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.3761, allocations: 99.92 kB / 438.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.3763, allocations: 181.2 kB / 439 MB, free: 5.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/0.3767, allocations: 209.2 kB / 439.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3767, allocations: 0 / 439.2 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004807/0.3772, allocations: 304.2 kB / 439.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3772, allocations: 12.23 kB / 439.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/0.3772, allocations: 5.984 kB / 439.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3772, allocations: 1.375 kB / 439.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.3775, allocations: 54.44 kB / 439.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3775, allocations: 1.484 kB / 439.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3777, allocations: 28.66 kB / 439.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.3777, allocations: 10.16 kB / 439.7 MB, free: 5.273 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 (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.3778, allocations: 150.8 kB / 439.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.3779, allocations: 23.61 kB / 439.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.3779, allocations: 28.8 kB / 439.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3779, allocations: 1.406 kB / 439.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3779, allocations: 1.062 kB / 439.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3779, allocations: 4.656 kB / 439.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.3782, allocations: 275.2 kB / 440.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3782, allocations: 0 / 440.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3784, allocations: 23.06 kB / 440.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3784, allocations: 0.7969 kB / 440.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.3784, allocations: 7.656 kB / 440.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3784, allocations: 2.125 kB / 440.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3784, allocations: 1.875 kB / 440.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.3789, allocations: 337 kB / 440.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.379, allocations: 103.7 kB / 440.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.379, allocations: 10.28 kB / 440.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.3791, allocations: 7.641 kB / 440.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.394e-05/0.3792, allocations: 14.61 kB / 440.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.3792, allocations: 4.062 kB / 440.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.3794, allocations: 197.6 kB / 440.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3794, allocations: 0 / 440.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004991/0.3799, allocations: 88.55 kB / 440.9 MB, free: 4.402 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0002897/0.3802, allocations: 136.6 kB / 441 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005163/0.3807, allocations: 272.5 kB / 441.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3807, allocations: 1.25 kB / 441.3 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.3809, allocations: 61.06 kB / 441.4 MB, free: 4.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.3814, allocations: 79.56 kB / 441.4 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.3826, allocations: 0.5597 MB / 442 MB, free: 3.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.3829, allocations: 0.7746 MB / 442.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.3831, allocations: 45.48 kB / 442.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.3832, allocations: 20.91 kB / 442.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3832, allocations: 0.6562 kB / 442.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Templates: time 0.01063/0.3938, allocations: 3.781 MB / 446.6 MB, free: 2.824 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.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.927496124058962]