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.001887/0.001887, allocations: 85.8 kB / 22 MB, free: 4.746 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.002198/0.002198, allocations: 157.4 kB / 25.24 MB, free: 2.742 MB / 14.72 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.324/1.324, allocations: 158.6 MB / 187 MB, free: 6.363 MB / 174.1 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.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",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.1.|filter_fac3.x.2.|filter_fac4.x.1.|filter_fac4.x.2.|filter_fac5.x.1.|filter_fac5.x.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003026/0.003026, allocations: 51.92 kB / 299.4 MB, free: 6.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2536, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003003/0.2566, allocations: 1.753 MB / 350.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005902/0.2625, allocations: 3.318 MB / 353.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.2627, allocations: 15.81 kB / 353.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004551/0.2631, allocations: 131.4 kB / 353.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.2632, allocations: 39.66 kB / 353.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004222/0.2674, allocations: 1.773 MB / 355.5 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.2679, allocations: 307.1 kB / 355.8 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.268, allocations: 20.92 kB / 355.8 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.2682, allocations: 123.5 kB / 356 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.2684, allocations: 107.3 kB / 356.1 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.2684, allocations: 12 kB / 356.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.2687, allocations: 175.7 kB / 356.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.2689, allocations: 67.77 kB / 356.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.269, allocations: 83.45 kB / 356.4 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.2694, allocations: 346.3 kB / 356.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2694, allocations: 0 / 356.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2694, allocations: 0 / 356.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.2694, allocations: 0 / 356.7 MB, free: 7.258 MB / 318.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.0009013/0.2703, allocations: 0.5163 MB / 357.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2704, allocations: 15.92 kB / 357.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.2705, allocations: 36.75 kB / 357.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.2709, allocations: 234.5 kB / 357.5 MB, free: 6.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2709, allocations: 4.562 kB / 357.5 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.271, allocations: 19.94 kB / 357.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.2714, allocations: 433.5 kB / 358 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2715, allocations: 4 kB / 358 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.2715, allocations: 4 kB / 358 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2715, allocations: 7.938 kB / 358 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.2717, allocations: 87.81 kB / 358.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.2725, allocations: 404.4 kB / 358.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.2728, allocations: 170.4 kB / 358.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.2729, allocations: 56.83 kB / 358.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.2729, allocations: 4 kB / 358.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.273, allocations: 34.56 kB / 358.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.273, allocations: 0 / 358.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000507/0.2735, allocations: 221.5 kB / 359 MB, free: 4.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001919/0.2737, allocations: 294.7 kB / 359.2 MB, free: 4.477 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.274, allocations: 280.5 kB / 359.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.274, allocations: 33.69 kB / 359.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.2741, allocations: 152.5 kB / 359.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.138e-05/0.2742, allocations: 51.53 kB / 359.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/0.2743, allocations: 65.69 kB / 359.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.2744, allocations: 346.7 kB / 360.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.2746, allocations: 99.94 kB / 360.2 MB, free: 3.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.275, allocations: 407.8 kB / 360.6 MB, free: 2.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.2754, allocations: 213.5 kB / 360.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2754, allocations: 0 / 360.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005818/0.276, allocations: 305.3 kB / 361.2 MB, free: 2.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.276, allocations: 4 kB / 361.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.276, allocations: 4 kB / 361.2 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.276, allocations: 4 kB / 361.2 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.2763, allocations: 55.91 kB / 361.2 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2763, allocations: 3.984 kB / 361.2 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.2764, allocations: 23.84 kB / 361.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.2765, allocations: 7.938 kB / 361.3 MB, free: 2.34 MB / 318.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.0001493/0.2766, allocations: 141.8 kB / 361.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.2767, allocations: 35.89 kB / 361.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.2767, allocations: 29.97 kB / 361.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2767, allocations: 3.938 kB / 361.5 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2767, allocations: 4 kB / 361.5 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2767, allocations: 7.922 kB / 361.5 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.277, allocations: 197.1 kB / 361.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.277, allocations: 0 / 361.7 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.2772, allocations: 23.98 kB / 361.7 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2772, allocations: 0 / 361.7 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.2772, allocations: 8 kB / 361.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2772, allocations: 0 / 361.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2772, allocations: 0 / 361.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.2777, allocations: 351.6 kB / 362 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.2778, allocations: 27.84 kB / 362.1 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.2778, allocations: 12.05 kB / 362.1 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.278, allocations: 11.98 kB / 362.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.278, allocations: 7.984 kB / 362.1 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.278, allocations: 4 kB / 362.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.2782, allocations: 195.1 kB / 362.3 MB, free: 1.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2782, allocations: 0 / 362.3 MB, free: 1.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.2786, allocations: 79.83 kB / 362.4 MB, free: 1.164 MB / 318.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.0002596/0.2789, allocations: 151 kB / 362.5 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.2793, allocations: 264.9 kB / 362.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2793, allocations: 0 / 362.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.2795, allocations: 63.91 kB / 362.8 MB, free: 0.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.2799, allocations: 76.38 kB / 362.9 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.281, allocations: 0.5477 MB / 363.5 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.2812, allocations: 161.8 kB / 363.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.2813, allocations: 45.91 kB / 363.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.2813, allocations: 32.38 kB / 363.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2813, allocations: 0 / 363.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of Templates: time 0.008602/0.2899, allocations: 3.974 MB / 367.7 MB, free: 11.78 MB / 334.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.510715315933339]