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.001113/0.001113, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001025/0.001025, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.9815/0.9815, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",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.[0-9,]+.|filter_fac4.x.[0-9,]+.|filter_fac5.x.[0-9,]+.",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 273 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.692e-05, allocations: 5.688 kB / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002029/0.002046, allocations: 1.826 MB / 274.9 MB, free: 36 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003904/0.00595, allocations: 3.409 MB / 278.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.006083, allocations: 11.88 kB / 278.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.006487, allocations: 151.2 kB / 278.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.006564, allocations: 27.72 kB / 278.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.01032, allocations: 1.891 MB / 280.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.01075, allocations: 315.1 kB / 280.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.01088, allocations: 16.94 kB / 280.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.01118, allocations: 159.7 kB / 280.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.01131, allocations: 87.69 kB / 280.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.01135, allocations: 12 kB / 280.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.01168, allocations: 171.6 kB / 281.1 MB, free: 9.789 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.01183, allocations: 71.69 kB / 281.2 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.801e-05/0.01191, allocations: 59.78 kB / 281.2 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.01235, allocations: 314.8 kB / 281.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.01236, allocations: 0 / 281.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01236, allocations: 0 / 281.5 MB, free: 9.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.01237, allocations: 4 kB / 281.5 MB, free: 9.348 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007075/0.01307, allocations: 0.6006 MB / 282.1 MB, free: 8.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.01312, allocations: 12.03 kB / 282.2 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.0132, allocations: 36.75 kB / 282.2 MB, free: 8.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.01351, allocations: 240.5 kB / 282.4 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.01353, allocations: 12.56 kB / 282.4 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.01358, allocations: 24.33 kB / 282.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.01394, allocations: 434.2 kB / 282.9 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.01395, allocations: 4 kB / 282.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.01397, allocations: 8 kB / 282.9 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.01398, allocations: 4 kB / 282.9 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.952e-05/0.01405, allocations: 31.97 kB / 282.9 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.01462, allocations: 451.5 kB / 283.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.01477, allocations: 91.06 kB / 283.5 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.01481, allocations: 27.67 kB / 283.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.01482, allocations: 4.109 kB / 283.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.01485, allocations: 53.33 kB / 283.5 MB, free: 7.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.01486, allocations: 0 / 283.5 MB, free: 7.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002509/0.01511, allocations: 129.4 kB / 283.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.0152, allocations: 286.7 kB / 283.9 MB, free: 6.641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.01542, allocations: 330.2 kB / 284.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.01544, allocations: 29.7 kB / 284.3 MB, free: 6.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01554, allocations: 207.2 kB / 284.5 MB, free: 6.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.01558, allocations: 59.52 kB / 284.6 MB, free: 5.996 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.01565, allocations: 63.36 kB / 284.6 MB, free: 5.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01578, allocations: 0.5157 MB / 285.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.01586, allocations: 39.97 kB / 285.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.01603, allocations: 368.2 kB / 285.5 MB, free: 4.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.01616, allocations: 96.41 kB / 285.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01617, allocations: 0 / 285.6 MB, free: 4.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002202/0.01639, allocations: 185.4 kB / 285.8 MB, free: 4.617 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.0164, allocations: 4 kB / 285.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.44e-05/0.01643, allocations: 7.984 kB / 285.8 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.01644, allocations: 0 / 285.8 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.01668, allocations: 43.97 kB / 285.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.01668, allocations: 4 kB / 285.9 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.01674, allocations: 35.77 kB / 285.9 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.01676, allocations: 15.98 kB / 285.9 MB, free: 4.508 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 (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 8.809e-05/0.01685, allocations: 164.5 kB / 286.1 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.01688, allocations: 35.81 kB / 286.1 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.01692, allocations: 29.91 kB / 286.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.01692, allocations: 0 / 286.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.01693, allocations: 0 / 286.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.01693, allocations: 0 / 286.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.0171, allocations: 204.4 kB / 286.3 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0171, allocations: 0 / 286.3 MB, free: 4.039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.01721, allocations: 31.92 kB / 286.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01722, allocations: 7.984 kB / 286.4 MB, free: 4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.01724, allocations: 4 kB / 286.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01724, allocations: 0 / 286.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01724, allocations: 0 / 286.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.01749, allocations: 299.7 kB / 286.7 MB, free: 3.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.01752, allocations: 27.69 kB / 286.7 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.01754, allocations: 8 kB / 286.7 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.01761, allocations: 11.98 kB / 286.7 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.01765, allocations: 7.984 kB / 286.7 MB, free: 3.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.01765, allocations: 4 kB / 286.7 MB, free: 3.625 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.01776, allocations: 219 kB / 287 MB, free: 3.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01776, allocations: 0 / 287 MB, free: 3.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.01802, allocations: 75.88 kB / 287 MB, free: 3.336 MB / 266.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.0002081/0.01823, allocations: 151 kB / 287.2 MB, free: 3.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.01847, allocations: 189.3 kB / 287.4 MB, free: 2.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.01847, allocations: 0 / 287.4 MB, free: 2.973 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.01852, allocations: 43.61 kB / 287.4 MB, free: 2.926 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.01884, allocations: 86.98 kB / 287.5 MB, free: 2.844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/0.01954, allocations: 494.7 kB / 288 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.807e-05/0.0196, allocations: 100.3 kB / 288.1 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.476e-05/0.01969, allocations: 41.97 kB / 288.1 MB, free: 2.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.01973, allocations: 24.5 kB / 288.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01973, allocations: 0 / 288.1 MB, free: 2.148 MB / 266.7 MB Notification: Performance of Templates: time 0.1075/0.1272, allocations: 3.982 MB / 292.1 MB, free: 28.21 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9573233670089394]