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.00473/0.00473, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001304/0.001304, allocations: 213.5 kB / 25.25 MB, free: 3.145 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.275/1.275, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.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: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [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.0016/0.0016, allocations: 59.92 kB / 348 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.241, allocations: 49.15 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002635/0.2436, allocations: 1.748 MB / 398.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004558/0.2482, allocations: 3.323 MB / 402.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.2483, allocations: 14.88 kB / 402.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.2487, allocations: 136.3 kB / 402.3 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.2488, allocations: 36.81 kB / 402.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.2528, allocations: 1.778 MB / 404.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.2532, allocations: 313.2 kB / 404.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2533, allocations: 20.58 kB / 404.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.2534, allocations: 112 kB / 404.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.2536, allocations: 115.9 kB / 404.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.2536, allocations: 14.88 kB / 404.7 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.2539, allocations: 178.6 kB / 404.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.254, allocations: 69.73 kB / 405 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.2541, allocations: 81.89 kB / 405 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.2545, allocations: 340.8 kB / 405.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2545, allocations: 0.9375 kB / 405.4 MB, free: 4.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2545, allocations: 3.938 kB / 405.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.2545, allocations: 0 / 405.4 MB, free: 4.523 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.0006646/0.2552, allocations: 0.514 MB / 405.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2552, allocations: 18.09 kB / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.791e-05/0.2552, allocations: 3.812 kB / 405.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.2552, allocations: 43.84 kB / 405.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.2553, allocations: 34.08 kB / 406 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.2556, allocations: 229.8 kB / 406.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2556, allocations: 13.28 kB / 406.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.2556, allocations: 13.69 kB / 406.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003025/0.2559, allocations: 430.3 kB / 406.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.256, allocations: 5.375 kB / 406.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.256, allocations: 5.375 kB / 406.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.256, allocations: 7.672 kB / 406.7 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2561, allocations: 89.34 kB / 406.8 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006336/0.2568, allocations: 431.5 kB / 407.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.257, allocations: 166.7 kB / 407.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.2571, allocations: 59.28 kB / 407.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2571, allocations: 3.5 kB / 407.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2571, allocations: 37.31 kB / 407.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2571, allocations: 112 / 407.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004009/0.2575, allocations: 227.1 kB / 407.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.2576, allocations: 291.8 kB / 407.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.2578, allocations: 281.9 kB / 408.2 MB, free: 2.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.2578, allocations: 32.22 kB / 408.3 MB, free: 2.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.2579, allocations: 155.7 kB / 408.4 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.2579, allocations: 53.75 kB / 408.5 MB, free: 2.105 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.258, allocations: 66.66 kB / 408.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.2581, allocations: 340.1 kB / 408.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.2582, allocations: 97.81 kB / 409 MB, free: 1.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.2584, allocations: 411.6 kB / 409.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.2587, allocations: 209.5 kB / 409.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2587, allocations: 0 / 409.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003955/0.2591, allocations: 305.4 kB / 409.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2591, allocations: 5.578 kB / 409.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.2591, allocations: 9.734 kB / 409.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2592, allocations: 2.031 kB / 409.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.2594, allocations: 53.38 kB / 409.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2594, allocations: 1.75 kB / 409.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.782e-05/0.2595, allocations: 26.09 kB / 410 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.2595, allocations: 5.125 kB / 410 MB, free: 1.105 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.0001019/0.2596, allocations: 155.3 kB / 410.1 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.2597, allocations: 31.83 kB / 410.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.2597, allocations: 27.98 kB / 410.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.2597, allocations: 10.02 kB / 410.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2597, allocations: 0 / 410.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2597, allocations: 2.188 kB / 410.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.2599, allocations: 223.8 kB / 410.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2599, allocations: 0.9844 kB / 410.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.2601, allocations: 27.47 kB / 410.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2601, allocations: 0 / 410.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2601, allocations: 7.906 kB / 410.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2601, allocations: 9.938 kB / 410.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2601, allocations: 0 / 410.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.2605, allocations: 342.5 kB / 410.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.2605, allocations: 19.34 kB / 410.8 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.2606, allocations: 9.594 kB / 410.8 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2607, allocations: 18.7 kB / 410.8 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.2607, allocations: 8.453 kB / 410.8 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.2607, allocations: 2.562 kB / 410.8 MB, free: 484 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.2609, allocations: 197.3 kB / 411 MB, free: 364 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2609, allocations: 0 / 411 MB, free: 364 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.000365/0.2613, allocations: 81.3 kB / 411.1 MB, free: 344 kB / 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.0007564/0.262, allocations: 0.91 MB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004137/0.2624, allocations: 271.4 kB / 412.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2624, allocations: 1.094 kB / 412.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.2625, allocations: 63.7 kB / 412.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.263, allocations: 71.56 kB / 412.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.2663, allocations: 2.8 MB / 415.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.2665, allocations: 159.9 kB / 415.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.2666, allocations: 50.81 kB / 415.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.2667, allocations: 84.72 kB / 415.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2667, allocations: 0 / 415.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.2955, allocations: 7.069 MB / 422.6 MB, free: 9.004 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.01, allocations: 4.062 kB / 422.6 MB, free: 9 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] 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: 13.272097095032223]