Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 107.5 kB / 20.44 MB, free: 1.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002227/0.002227, allocations: 181.3 kB / 23.7 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.7 MB / 252.5 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 43.94 kB / 370.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2442, allocations: 52.19 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002966/0.2471, allocations: 1.768 MB / 424.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005753/0.2529, allocations: 3.273 MB / 427.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.253, allocations: 11.88 kB / 427.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.2535, allocations: 139.3 kB / 427.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.2536, allocations: 35.64 kB / 427.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004041/0.2576, allocations: 1.774 MB / 429.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.258, allocations: 307.2 kB / 429.9 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2581, allocations: 24.94 kB / 429.9 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.2583, allocations: 119.5 kB / 430 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.2584, allocations: 103.4 kB / 430.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.488e-05/0.2584, allocations: 12 kB / 430.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003018/0.2587, allocations: 167.7 kB / 430.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.2589, allocations: 79.67 kB / 430.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.259, allocations: 71.55 kB / 430.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.2594, allocations: 350.5 kB / 430.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2594, allocations: 0 / 430.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2594, allocations: 0 / 430.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.2594, allocations: 0 / 430.8 MB, free: 6.16 MB / 334.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.0008412/0.2602, allocations: 0.524 MB / 431.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2603, allocations: 8.031 kB / 431.3 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/0.2603, allocations: 46.73 kB / 431.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.2604, allocations: 32.75 kB / 431.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.2608, allocations: 226.1 kB / 431.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.2608, allocations: 8 kB / 431.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.2609, allocations: 16 kB / 431.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.2613, allocations: 437.5 kB / 432 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2613, allocations: 0 / 432 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.2614, allocations: 7.938 kB / 432.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2614, allocations: 4 kB / 432.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.2616, allocations: 83.92 kB / 432.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007989/0.2624, allocations: 435.5 kB / 432.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.2627, allocations: 166.5 kB / 432.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.2628, allocations: 64.84 kB / 432.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.2628, allocations: 0 / 432.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2629, allocations: 38.56 kB / 432.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.2629, allocations: 0 / 432.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004677/0.2633, allocations: 225.2 kB / 433 MB, free: 3.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.2635, allocations: 290.7 kB / 433.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.2638, allocations: 284.5 kB / 433.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.2638, allocations: 37.67 kB / 433.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.2639, allocations: 152.6 kB / 433.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.264, allocations: 59.42 kB / 433.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.369e-05/0.2641, allocations: 65.62 kB / 433.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2642, allocations: 342.8 kB / 434.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.2644, allocations: 99.94 kB / 434.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.2648, allocations: 403.8 kB / 434.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.2651, allocations: 206 kB / 434.9 MB, free: 1.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2651, allocations: 4 kB / 435 MB, free: 1.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004707/0.2656, allocations: 309.3 kB / 435.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2656, allocations: 8.094 kB / 435.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.2656, allocations: 7.938 kB / 435.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2656, allocations: 3.938 kB / 435.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.2659, allocations: 47.97 kB / 435.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2659, allocations: 0 / 435.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.266, allocations: 23.88 kB / 435.3 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.266, allocations: 8 kB / 435.4 MB, free: 1.16 MB / 334.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.0001402/0.2662, allocations: 145.8 kB / 435.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.409e-05/0.2662, allocations: 31.81 kB / 435.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.2663, allocations: 33.84 kB / 435.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2663, allocations: 0 / 435.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2663, allocations: 0 / 435.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2663, allocations: 3.984 kB / 435.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.2666, allocations: 232.6 kB / 435.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2666, allocations: 0 / 435.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.2668, allocations: 31.92 kB / 435.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2668, allocations: 0 / 435.8 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.2668, allocations: 7.922 kB / 435.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2668, allocations: 4 kB / 435.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2668, allocations: 4 kB / 435.8 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.2673, allocations: 334 kB / 436.2 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.2673, allocations: 23.81 kB / 436.2 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.2673, allocations: 7.938 kB / 436.2 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.2675, allocations: 12.05 kB / 436.2 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.2675, allocations: 7.984 kB / 436.2 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.2675, allocations: 11.92 kB / 436.2 MB, free: 220 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.2677, allocations: 199.1 kB / 436.4 MB, free: 24 kB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2677, allocations: 96 / 436.4 MB, free: 24 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.268, allocations: 79.86 kB / 436.5 MB, free: 15.94 MB / 350.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.0009342/0.269, allocations: 0.9113 MB / 437.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005011/0.2695, allocations: 260.9 kB / 437.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2695, allocations: 11.88 kB / 437.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001226/0.2696, allocations: 59.95 kB / 437.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.2701, allocations: 71.88 kB / 437.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.2735, allocations: 2.793 MB / 440.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.2737, allocations: 165.8 kB / 440.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.2738, allocations: 50.14 kB / 440.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.2739, allocations: 83.41 kB / 440.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2739, allocations: 0 / 440.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05713/0.331, allocations: 7.403 MB / 448.3 MB, free: 4.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.08, allocations: 11.16 kB / 448.3 MB, free: 4.188 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 13.374507984146476]