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.001524/0.001524, allocations: 92.31 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.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.001623/0.001623, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 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 1.482/1.482, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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 2.064e-06/2.064e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.32e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003546/0.003579, allocations: 1.79 MB / 274.1 MB, free: 44 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007204/0.01078, allocations: 3.316 MB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.01098, allocations: 11.88 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005504/0.01153, allocations: 139.3 kB / 277.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.01171, allocations: 35.59 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005259/0.01697, allocations: 1.877 MB / 279.5 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006347/0.0176, allocations: 315 kB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.01775, allocations: 28.86 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.01814, allocations: 155.6 kB / 280 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.01834, allocations: 83.7 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.01838, allocations: 16 kB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00037/0.01875, allocations: 163.7 kB / 280.2 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.01889, allocations: 79.67 kB / 280.3 MB, free: 9.832 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.01901, allocations: 63.78 kB / 280.4 MB, free: 9.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.01967, allocations: 358.8 kB / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01967, allocations: 0 / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01967, allocations: 0 / 280.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.01969, allocations: 0 / 280.7 MB, free: 9.418 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.001158/0.02084, allocations: 0.5123 MB / 281.2 MB, free: 8.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.0209, allocations: 8.031 kB / 281.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.02105, allocations: 36.75 kB / 281.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005388/0.02159, allocations: 237.8 kB / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.02161, allocations: 12.56 kB / 281.5 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.02168, allocations: 28.25 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.02225, allocations: 433.8 kB / 282 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.02226, allocations: 0 / 282 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.02229, allocations: 8 kB / 282 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.02229, allocations: 4 kB / 282 MB, free: 8.008 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.02282, allocations: 87.31 kB / 282.1 MB, free: 7.926 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009293/0.02375, allocations: 412.2 kB / 282.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.02411, allocations: 158.5 kB / 282.6 MB, free: 7.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.02425, allocations: 56.83 kB / 282.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.02427, allocations: 0 / 282.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/0.02432, allocations: 46.58 kB / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.02432, allocations: 0 / 282.7 MB, free: 7.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006278/0.02495, allocations: 221.5 kB / 282.9 MB, free: 6.992 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002176/0.02517, allocations: 282.7 kB / 283.2 MB, free: 6.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.02555, allocations: 284.5 kB / 283.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.02559, allocations: 33.7 kB / 283.5 MB, free: 6.324 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.02575, allocations: 152.5 kB / 283.7 MB, free: 6.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/0.02581, allocations: 51.59 kB / 283.7 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.02594, allocations: 61.67 kB / 283.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.02615, allocations: 342.8 kB / 284.1 MB, free: 5.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.02638, allocations: 103.9 kB / 284.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.02683, allocations: 412.5 kB / 284.6 MB, free: 5.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.02723, allocations: 217.4 kB / 284.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02723, allocations: 0 / 284.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006034/0.02784, allocations: 313.3 kB / 285.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.02786, allocations: 8 kB / 285.1 MB, free: 4.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.02789, allocations: 7.969 kB / 285.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.02791, allocations: 4 kB / 285.2 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.02819, allocations: 43.97 kB / 285.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.0282, allocations: 4 kB / 285.2 MB, free: 4.527 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.02834, allocations: 19.84 kB / 285.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.02837, allocations: 15.98 kB / 285.2 MB, free: 4.492 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 0.0001757/0.02854, allocations: 153.7 kB / 285.4 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.02861, allocations: 23.86 kB / 285.4 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.02868, allocations: 33.91 kB / 285.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.02868, allocations: 0 / 285.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.0287, allocations: 8 kB / 285.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.0287, allocations: 0 / 285.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.029, allocations: 201.1 kB / 285.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.029, allocations: 0 / 285.6 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.02921, allocations: 27.92 kB / 285.7 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.02921, allocations: 4 kB / 285.7 MB, free: 4.004 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.02923, allocations: 7.984 kB / 285.7 MB, free: 3.996 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02923, allocations: 4 kB / 285.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02923, allocations: 0 / 285.7 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.02981, allocations: 339.1 kB / 286 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.02985, allocations: 23.81 kB / 286 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.02989, allocations: 8.062 kB / 286 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.03003, allocations: 7.984 kB / 286.1 MB, free: 3.609 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.03008, allocations: 11.98 kB / 286.1 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.03009, allocations: 8 kB / 286.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.03032, allocations: 199 kB / 286.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03032, allocations: 0 / 286.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.03071, allocations: 75.88 kB / 286.3 MB, free: 3.32 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.0003474/0.03106, allocations: 155 kB / 286.5 MB, free: 3.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005503/0.03161, allocations: 269.5 kB / 286.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.03161, allocations: 0 / 286.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.03176, allocations: 67.89 kB / 286.8 MB, free: 2.812 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.0323, allocations: 86.42 kB / 286.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.03356, allocations: 0.5361 MB / 287.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.03376, allocations: 161.8 kB / 287.6 MB, free: 1.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.0339, allocations: 46.03 kB / 287.6 MB, free: 1.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.03396, allocations: 24.5 kB / 287.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03396, allocations: 0 / 287.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of Templates: time 0.1248/0.1588, allocations: 3.971 MB / 291.6 MB, free: 28.77 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=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.568271343945526]