Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001431/0.001431, allocations: 85.95 kB / 23 MB, free: 1.504 MB / 18.57 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.001237/0.001237, allocations: 171.6 kB / 26.39 MB, free: 7.988 MB / 18.57 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.011/1.011, allocations: 158.6 MB / 188.3 MB, free: 2.824 MB / 170.7 MB " [Timeout remaining time 179] 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.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") translateModel(Modelica.Blocks.Examples.FilterWithRiseTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|filter_fac3.x.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 252.2 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.466e-05, allocations: 2.312 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00218/0.002205, allocations: 1.809 MB / 254 MB, free: 5.449 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.00606, allocations: 3.351 MB / 257.4 MB, free: 2.078 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.006161, allocations: 15.81 kB / 257.4 MB, free: 2.062 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.006507, allocations: 147.2 kB / 257.6 MB, free: 1.918 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.266e-05/0.00658, allocations: 31.66 kB / 257.6 MB, free: 1.887 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.008868, allocations: 1.878 MB / 259.5 MB, free: 12 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.009156, allocations: 315.2 kB / 259.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.009268, allocations: 20.94 kB / 259.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.009413, allocations: 147.7 kB / 259.9 MB, free: 15.53 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.009518, allocations: 87.7 kB / 260 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.009542, allocations: 12 kB / 260 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.009743, allocations: 175.6 kB / 260.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.009842, allocations: 75.67 kB / 260.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.009889, allocations: 59.78 kB / 260.3 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.01016, allocations: 307 kB / 260.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01016, allocations: 4 kB / 260.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01016, allocations: 0 / 260.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.01016, allocations: 3.938 kB / 260.6 MB, free: 14.82 MB / 250.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.0005525/0.01072, allocations: 0.6083 MB / 261.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.01076, allocations: 11.98 kB / 261.3 MB, free: 14.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.01081, allocations: 40.75 kB / 261.3 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.01104, allocations: 228.6 kB / 261.5 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.01105, allocations: 16.56 kB / 261.5 MB, free: 13.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.413e-05/0.01108, allocations: 24.31 kB / 261.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.01132, allocations: 426.8 kB / 262 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.01133, allocations: 4 kB / 262 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.01134, allocations: 4 kB / 262 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.01135, allocations: 4 kB / 262 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.01139, allocations: 31.84 kB / 262 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.01182, allocations: 400.1 kB / 262.4 MB, free: 12.85 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.01194, allocations: 94.88 kB / 262.5 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.01197, allocations: 23.69 kB / 262.5 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.01198, allocations: 0 / 262.5 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.012, allocations: 37.39 kB / 262.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.82e-07/0.012, allocations: 0 / 262.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000207/0.01221, allocations: 131 kB / 262.7 MB, free: 12.54 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.0123, allocations: 290.7 kB / 263 MB, free: 12.19 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.01248, allocations: 318.3 kB / 263.3 MB, free: 11.86 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.0125, allocations: 33.64 kB / 263.3 MB, free: 11.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.01259, allocations: 219.1 kB / 263.5 MB, free: 11.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.01262, allocations: 51.58 kB / 263.6 MB, free: 11.55 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.01268, allocations: 67.31 kB / 263.7 MB, free: 11.48 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.01282, allocations: 0.5196 MB / 264.2 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.677e-05/0.01286, allocations: 23.98 kB / 264.2 MB, free: 10.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.01301, allocations: 360.1 kB / 264.5 MB, free: 10.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.1e-05/0.0131, allocations: 92.33 kB / 264.6 MB, free: 10.38 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01311, allocations: 3.938 kB / 264.6 MB, free: 10.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000161/0.01327, allocations: 165.4 kB / 264.8 MB, free: 10.21 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.01328, allocations: 8 kB / 264.8 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.01329, allocations: 4 kB / 264.8 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.0133, allocations: 4 kB / 264.8 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01345, allocations: 55.89 kB / 264.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.01345, allocations: 4 kB / 264.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.0135, allocations: 19.78 kB / 264.9 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.01351, allocations: 8 kB / 264.9 MB, free: 10.11 MB / 250.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 7.957e-05/0.01359, allocations: 168.5 kB / 265.1 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.01362, allocations: 35.75 kB / 265.1 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.01366, allocations: 29.91 kB / 265.1 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01366, allocations: 0 / 265.1 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01366, allocations: 8 kB / 265.1 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.01367, allocations: 0 / 265.1 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.0138, allocations: 157.2 kB / 265.3 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0138, allocations: 0 / 265.3 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.333e-05/0.01388, allocations: 19.98 kB / 265.3 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01389, allocations: 7.938 kB / 265.3 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.0139, allocations: 4 kB / 265.3 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.0139, allocations: 0 / 265.3 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.0139, allocations: 7.984 kB / 265.3 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.01409, allocations: 290.4 kB / 265.6 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.01411, allocations: 35.75 kB / 265.7 MB, free: 9.305 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.01414, allocations: 15.98 kB / 265.7 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.082e-05/0.01419, allocations: 0 / 265.7 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.01421, allocations: 11.98 kB / 265.7 MB, free: 9.277 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.01422, allocations: 4 kB / 265.7 MB, free: 9.273 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.271e-05/0.0143, allocations: 210.9 kB / 265.9 MB, free: 9.066 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.0143, allocations: 0 / 265.9 MB, free: 9.066 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.01451, allocations: 87.81 kB / 266 MB, free: 8.98 MB / 250.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.000151/0.01466, allocations: 139.2 kB / 266.1 MB, free: 8.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.01483, allocations: 185 kB / 266.3 MB, free: 8.629 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01483, allocations: 0 / 266.3 MB, free: 8.629 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.01487, allocations: 43.59 kB / 266.3 MB, free: 8.582 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.01514, allocations: 70.41 kB / 266.4 MB, free: 8.52 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.01572, allocations: 493.8 kB / 266.9 MB, free: 8.008 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.01578, allocations: 100.2 kB / 267 MB, free: 7.891 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.209e-05/0.01584, allocations: 29.92 kB / 267 MB, free: 7.863 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.01601, allocations: 154.1 kB / 267.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01601, allocations: 0 / 267.2 MB, free: 7.711 MB / 250.7 MB Notification: Performance of Templates: time 0.005469/0.02148, allocations: 4.385 MB / 271.5 MB, free: 3.344 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0254551540128887]