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.001962/0.001962, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002397/0.002397, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.507/1.507, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001882/0.001882, allocations: 58.58 kB / 347.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3313, allocations: 49.15 MB / 396.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002831/0.3341, allocations: 1.756 MB / 398.6 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0064/0.3405, allocations: 3.323 MB / 401.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.3407, allocations: 11.38 kB / 401.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.3412, allocations: 135.7 kB / 402.1 MB, free: 6.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.3414, allocations: 49.53 kB / 402.1 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005509/0.3469, allocations: 1.759 MB / 403.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.3473, allocations: 308.4 kB / 404.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3475, allocations: 22.16 kB / 404.2 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.3477, allocations: 119.7 kB / 404.3 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.3479, allocations: 101.6 kB / 404.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.3479, allocations: 12.78 kB / 404.4 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.3483, allocations: 174.1 kB / 404.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.3484, allocations: 73.78 kB / 404.7 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.3485, allocations: 78.8 kB / 404.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.349, allocations: 355.7 kB / 405.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.349, allocations: 0 / 405.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.349, allocations: 5.562 kB / 405.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.349, allocations: 0 / 405.1 MB, free: 5.039 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.0008066/0.3498, allocations: 0.505 MB / 405.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.3499, allocations: 13.42 kB / 405.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.634e-05/0.3499, allocations: 32.53 kB / 405.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.3504, allocations: 230.6 kB / 405.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.3504, allocations: 18.05 kB / 405.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.606e-05/0.3505, allocations: 26.86 kB / 405.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.3509, allocations: 434.1 kB / 406.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3509, allocations: 0 / 406.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.3509, allocations: 6.75 kB / 406.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-06/0.3509, allocations: 2.75 kB / 406.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.3511, allocations: 85.06 kB / 406.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007616/0.3519, allocations: 409.3 kB / 406.8 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.3522, allocations: 166.2 kB / 407 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.3524, allocations: 55.84 kB / 407 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.3524, allocations: 2.75 kB / 407 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3524, allocations: 37.91 kB / 407.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.3524, allocations: 112 / 407.1 MB, free: 3.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005001/0.3529, allocations: 222.4 kB / 407.3 MB, free: 3.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.353, allocations: 291.9 kB / 407.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.3534, allocations: 279 kB / 407.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.3534, allocations: 35.39 kB / 407.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.3535, allocations: 151.7 kB / 408 MB, free: 2.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.3535, allocations: 54.45 kB / 408.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3536, allocations: 62.78 kB / 408.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3537, allocations: 343.2 kB / 408.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.3539, allocations: 107.7 kB / 408.6 MB, free: 2.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.3542, allocations: 406.4 kB / 409 MB, free: 1.926 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.3546, allocations: 212.3 kB / 409.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3546, allocations: 1.094 kB / 409.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005134/0.3551, allocations: 311.3 kB / 409.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3551, allocations: 4.469 kB / 409.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.3551, allocations: 7.891 kB / 409.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3551, allocations: 0 / 409.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.3554, allocations: 49.75 kB / 409.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3554, allocations: 1.125 kB / 409.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3555, allocations: 27.67 kB / 409.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.3556, allocations: 9.594 kB / 409.6 MB, free: 1.672 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.0001246/0.3557, allocations: 149.7 kB / 409.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.3557, allocations: 31.78 kB / 409.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.576e-05/0.3558, allocations: 28.75 kB / 409.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3558, allocations: 1.75 kB / 409.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3558, allocations: 0 / 409.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3558, allocations: 0 / 409.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.356, allocations: 201.1 kB / 410 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.356, allocations: 1.406 kB / 410 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.3562, allocations: 30.48 kB / 410 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3562, allocations: 1.438 kB / 410 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.3562, allocations: 6.594 kB / 410 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3562, allocations: 4 kB / 410 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3562, allocations: 1.344 kB / 410 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.3567, allocations: 333.4 kB / 410.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.3567, allocations: 22.7 kB / 410.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.3567, allocations: 12.36 kB / 410.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.3569, allocations: 13.31 kB / 410.4 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.3569, allocations: 6.078 kB / 410.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3569, allocations: 3.281 kB / 410.4 MB, free: 1.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.3571, allocations: 194.7 kB / 410.6 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3571, allocations: 5.094 kB / 410.6 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003967/0.3575, allocations: 90.12 kB / 410.7 MB, free: 0.8555 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.0002445/0.3577, allocations: 142.6 kB / 410.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004195/0.3581, allocations: 263.8 kB / 411.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3581, allocations: 1.281 kB / 411.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3583, allocations: 71.3 kB / 411.2 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.3587, allocations: 79.84 kB / 411.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009401/0.3597, allocations: 0.5556 MB / 411.8 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.3598, allocations: 158.1 kB / 412 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000166/0.36, allocations: 41.2 kB / 412 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.3601, allocations: 21.66 kB / 412 MB, free: 15.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3601, allocations: 0 / 412 MB, free: 15.98 MB / 334.1 MB Notification: Performance of Templates: time 0.009491/0.3696, allocations: 4.185 MB / 416.2 MB, free: 13.79 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/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.877956617623568]