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.001724/0.001724, allocations: 108 kB / 21.93 MB, free: 5.219 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.001878/0.001878, allocations: 213.5 kB / 25.22 MB, free: 3.031 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.447/1.447, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.002067/0.002067, allocations: 53.64 kB / 348.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2924, allocations: 49.15 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003642/0.2961, allocations: 1.749 MB / 399.3 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006539/0.3026, allocations: 3.326 MB / 402.7 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.3028, allocations: 14.53 kB / 402.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.3034, allocations: 140.2 kB / 402.8 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.3035, allocations: 37.23 kB / 402.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00659/0.3101, allocations: 1.772 MB / 404.6 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006336/0.3107, allocations: 313.8 kB / 404.9 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.3109, allocations: 20.94 kB / 404.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.311, allocations: 112.6 kB / 405.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.3112, allocations: 102 kB / 405.2 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.3113, allocations: 16.22 kB / 405.2 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.3117, allocations: 173.3 kB / 405.3 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3118, allocations: 74.16 kB / 405.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3119, allocations: 87.12 kB / 405.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005675/0.3125, allocations: 338.4 kB / 405.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3125, allocations: 1.375 kB / 405.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3125, allocations: 0 / 405.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.3125, allocations: 0 / 405.8 MB, free: 5.047 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.0009649/0.3135, allocations: 0.5141 MB / 406.3 MB, free: 4.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3135, allocations: 13.58 kB / 406.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.3136, allocations: 38.59 kB / 406.4 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.3141, allocations: 231.2 kB / 406.6 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3141, allocations: 9.875 kB / 406.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.3142, allocations: 18.34 kB / 406.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004209/0.3146, allocations: 430.9 kB / 407.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3146, allocations: 0 / 407.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.3146, allocations: 7.312 kB / 407.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.3146, allocations: 1.844 kB / 407.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000208/0.3148, allocations: 89.75 kB / 407.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.3156, allocations: 404.8 kB / 407.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.316, allocations: 170 kB / 407.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3161, allocations: 56.45 kB / 407.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3161, allocations: 2.781 kB / 407.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.3161, allocations: 37.91 kB / 407.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.3161, allocations: 0 / 407.8 MB, free: 3.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000514/0.3166, allocations: 222.5 kB / 408 MB, free: 3.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/0.3167, allocations: 292.2 kB / 408.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.317, allocations: 282.6 kB / 408.6 MB, free: 2.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.3171, allocations: 35.11 kB / 408.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3172, allocations: 159.5 kB / 408.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.3172, allocations: 50.69 kB / 408.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/0.3173, allocations: 67.06 kB / 408.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.3174, allocations: 342.9 kB / 409.2 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.3176, allocations: 98.2 kB / 409.3 MB, free: 2.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.318, allocations: 407.9 kB / 409.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.3183, allocations: 216.3 kB / 409.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3183, allocations: 1.25 kB / 409.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005108/0.3188, allocations: 312.2 kB / 410.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3188, allocations: 5.562 kB / 410.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.3189, allocations: 3.344 kB / 410.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.3189, allocations: 1.188 kB / 410.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.3192, allocations: 53.73 kB / 410.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3192, allocations: 5.172 kB / 410.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3193, allocations: 27.22 kB / 410.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.3193, allocations: 9.094 kB / 410.4 MB, free: 1.668 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.0001237/0.3194, allocations: 149.8 kB / 410.5 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.3195, allocations: 27.84 kB / 410.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.3195, allocations: 28.59 kB / 410.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3195, allocations: 1 kB / 410.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3195, allocations: 1.125 kB / 410.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3195, allocations: 0 / 410.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3198, allocations: 201.2 kB / 410.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3198, allocations: 5.25 kB / 410.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.3199, allocations: 31.08 kB / 410.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3199, allocations: 0 / 410.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.32, allocations: 2.781 kB / 410.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.32, allocations: 1.469 kB / 410.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.32, allocations: 3.984 kB / 410.8 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.3204, allocations: 342.4 kB / 411.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.3205, allocations: 23.17 kB / 411.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.3205, allocations: 4.156 kB / 411.2 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3206, allocations: 11.98 kB / 411.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3207, allocations: 12.08 kB / 411.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.3207, allocations: 2.375 kB / 411.2 MB, free: 1.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3209, allocations: 199 kB / 411.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3209, allocations: 3.938 kB / 411.4 MB, free: 0.875 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004576/0.3213, allocations: 78.95 kB / 411.5 MB, free: 0.8594 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.0002784/0.3216, allocations: 150.3 kB / 411.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004476/0.3221, allocations: 263.9 kB / 411.9 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3221, allocations: 4.938 kB / 411.9 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3222, allocations: 67.34 kB / 411.9 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.3227, allocations: 75.28 kB / 412 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009986/0.3237, allocations: 0.5836 MB / 412.6 MB, free: 96 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.3239, allocations: 162.3 kB / 412.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.324, allocations: 25.25 kB / 412.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.324, allocations: 0 / 412.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of Templates: time 0.008033/0.332, allocations: 3.984 MB / 416.8 MB, free: 13.88 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 -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: 8.323743451852351]