Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.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.0008221/0.0008221, allocations: 88.28 kB / 21.44 MB, free: 3.121 MB / 18.57 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.004078/0.004078, allocations: 152.7 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8607/0.8607, allocations: 177 MB / 204.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.865e-05, allocations: 3.125 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002097/0.002126, allocations: 1.78 MB / 327.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.006072, allocations: 3.323 MB / 330.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.006164, allocations: 11.88 kB / 330.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.006522, allocations: 143.3 kB / 331 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.006595, allocations: 35.59 kB / 331 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.008813, allocations: 1.878 MB / 332.9 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.009077, allocations: 311.1 kB / 333.2 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.009188, allocations: 20.92 kB / 333.3 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.009393, allocations: 159.6 kB / 333.4 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.239e-05/0.009485, allocations: 87.72 kB / 333.5 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.009509, allocations: 12 kB / 333.5 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.009692, allocations: 175.6 kB / 333.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.009783, allocations: 71.69 kB / 333.7 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.009836, allocations: 59.77 kB / 333.8 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.01015, allocations: 354.9 kB / 334.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.01016, allocations: 0 / 334.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01016, allocations: 0 / 334.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.01016, allocations: 0 / 334.2 MB, free: 6.984 MB / 298.7 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.0005824/0.01074, allocations: 0.5124 MB / 334.7 MB, free: 6.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.01078, allocations: 15.98 kB / 334.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.01083, allocations: 28.75 kB / 334.7 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.01109, allocations: 229.8 kB / 334.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.0111, allocations: 8.562 kB / 334.9 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.01113, allocations: 20.33 kB / 335 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.01142, allocations: 433.8 kB / 335.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.01143, allocations: 4 kB / 335.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.01145, allocations: 8 kB / 335.4 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.01145, allocations: 3.938 kB / 335.4 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.01157, allocations: 91.88 kB / 335.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.0123, allocations: 404.3 kB / 335.9 MB, free: 5.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.01248, allocations: 166.4 kB / 336 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.01255, allocations: 56.83 kB / 336.1 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.01256, allocations: 4 kB / 336.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.01258, allocations: 34.56 kB / 336.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.01258, allocations: 0 / 336.1 MB, free: 4.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002978/0.01288, allocations: 221.5 kB / 336.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.01296, allocations: 290.7 kB / 336.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.01315, allocations: 284.5 kB / 336.9 MB, free: 3.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.01316, allocations: 29.7 kB / 336.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.01324, allocations: 156.6 kB / 337.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.01328, allocations: 55.47 kB / 337.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.01334, allocations: 65.69 kB / 337.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.01343, allocations: 342.8 kB / 337.6 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.01354, allocations: 103.9 kB / 337.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.01375, allocations: 403.8 kB / 338 MB, free: 2.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.01396, allocations: 217.4 kB / 338.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01396, allocations: 0 / 338.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002893/0.01425, allocations: 301.4 kB / 338.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01426, allocations: 4 kB / 338.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.01428, allocations: 8 kB / 338.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.01429, allocations: 4 kB / 338.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.01444, allocations: 55.89 kB / 338.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.01445, allocations: 0 / 338.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.477e-05/0.0145, allocations: 27.83 kB / 338.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.01452, allocations: 4 kB / 338.7 MB, free: 2.074 MB / 298.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 (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 9.55e-05/0.01461, allocations: 153.8 kB / 338.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.01464, allocations: 23.86 kB / 338.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.01467, allocations: 33.89 kB / 338.9 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-06/0.01467, allocations: 3.938 kB / 338.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01468, allocations: 4 kB / 338.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01468, allocations: 0 / 338.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.01485, allocations: 201.1 kB / 339.1 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.01485, allocations: 4 kB / 339.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/0.01494, allocations: 19.98 kB / 339.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01494, allocations: 4 kB / 339.1 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01496, allocations: 4 kB / 339.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.01496, allocations: 4.078 kB / 339.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.01496, allocations: 7.938 kB / 339.1 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.01527, allocations: 338.3 kB / 339.4 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.01529, allocations: 23.81 kB / 339.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.01531, allocations: 8.062 kB / 339.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.01537, allocations: 7.984 kB / 339.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.01541, allocations: 15.98 kB / 339.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.01541, allocations: 4.125 kB / 339.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01552, allocations: 195.1 kB / 339.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01552, allocations: 0 / 339.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.01574, allocations: 79.81 kB / 339.8 MB, free: 0.9102 MB / 298.7 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.0001858/0.01592, allocations: 151.1 kB / 339.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002745/0.0162, allocations: 264.9 kB / 340.2 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0162, allocations: 0 / 340.2 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.805e-05/0.01627, allocations: 63.91 kB / 340.2 MB, free: 420 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.01655, allocations: 86.58 kB / 340.3 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.01721, allocations: 0.54 MB / 340.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.634e-05/0.01731, allocations: 161.8 kB / 341 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.01735, allocations: 24.5 kB / 341 MB, free: 15.55 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01735, allocations: 0 / 341 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Templates: time 0.004272/0.02162, allocations: 4.064 MB / 345.1 MB, free: 11.5 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.535488300956786]