Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001786/0.001786, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 215.3 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 230.5 MB / 257.4 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2474, allocations: 53.42 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003513/0.2509, allocations: 1.854 MB / 433 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005952/0.2568, allocations: 3.596 MB / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.257, allocations: 15.88 kB / 436.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.2575, allocations: 127.3 kB / 436.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2576, allocations: 51.62 kB / 436.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.2616, allocations: 1.77 MB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004721/0.262, allocations: 319.1 kB / 438.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2621, allocations: 16.94 kB / 438.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.2624, allocations: 119.6 kB / 439 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.2626, allocations: 107.4 kB / 439.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.904e-05/0.2626, allocations: 12 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.2629, allocations: 183.6 kB / 439.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.2631, allocations: 79.69 kB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2632, allocations: 95.34 kB / 439.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.2637, allocations: 354.1 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2637, allocations: 0 / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2637, allocations: 0 / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2637, allocations: 0 / 439.8 MB, free: 14.03 MB / 350.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.00088/0.2646, allocations: 0.5163 MB / 440.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2646, allocations: 12.03 kB / 440.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.2647, allocations: 38.75 kB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.2647, allocations: 32.75 kB / 440.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.2652, allocations: 222.5 kB / 440.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.2652, allocations: 24.23 kB / 440.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.2652, allocations: 19.95 kB / 440.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.2656, allocations: 205.5 kB / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2656, allocations: 0 / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.2656, allocations: 4 kB / 440.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.2656, allocations: 7.938 kB / 440.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.2658, allocations: 87.81 kB / 441 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.2666, allocations: 459.7 kB / 441.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.2669, allocations: 166.4 kB / 441.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.267, allocations: 56.83 kB / 441.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.267, allocations: 4 kB / 441.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.2671, allocations: 34.56 kB / 441.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2671, allocations: 0 / 441.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004526/0.2675, allocations: 221 kB / 441.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.2677, allocations: 294.7 kB / 442.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.268, allocations: 288.4 kB / 442.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.268, allocations: 29.7 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.2681, allocations: 152.5 kB / 442.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.2682, allocations: 59.52 kB / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.715e-05/0.2683, allocations: 61.69 kB / 442.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.2684, allocations: 338.8 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.2686, allocations: 95.94 kB / 443.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.2689, allocations: 176.5 kB / 443.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.2692, allocations: 217.3 kB / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2692, allocations: 3.984 kB / 443.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004909/0.2697, allocations: 297.4 kB / 443.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2697, allocations: 4 kB / 443.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.2697, allocations: 7.984 kB / 443.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.2697, allocations: 0 / 443.9 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.27, allocations: 59.91 kB / 444 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.27, allocations: 4.047 kB / 444 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2701, allocations: 27.77 kB / 444 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.2702, allocations: 8 kB / 444 MB, free: 9.578 MB / 350.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.0001453/0.2703, allocations: 142.5 kB / 444.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.2703, allocations: 27.8 kB / 444.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.505e-05/0.2704, allocations: 33.91 kB / 444.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2704, allocations: 0 / 444.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2704, allocations: 7.938 kB / 444.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2704, allocations: 0 / 444.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.2707, allocations: 244.5 kB / 444.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2707, allocations: 0 / 444.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.2709, allocations: 27.98 kB / 444.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2709, allocations: 0 / 444.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.2709, allocations: 0 / 444.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.2709, allocations: 8.078 kB / 444.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2709, allocations: 7.875 kB / 444.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.2714, allocations: 343.2 kB / 444.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.2714, allocations: 23.81 kB / 444.8 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.2715, allocations: 4 kB / 444.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.2716, allocations: 12.05 kB / 444.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.2716, allocations: 11.92 kB / 444.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.2716, allocations: 8 kB / 444.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.2718, allocations: 195.1 kB / 445.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2718, allocations: 0 / 445.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.2721, allocations: 75.88 kB / 445.1 MB, free: 8.363 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.0008677/0.273, allocations: 0.9139 MB / 446.1 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004612/0.2735, allocations: 265.4 kB / 446.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2735, allocations: 4 kB / 446.3 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.2736, allocations: 67.89 kB / 446.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2741, allocations: 84.75 kB / 446.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.2776, allocations: 2.781 MB / 449.3 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.278, allocations: 0.7675 MB / 450 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.2782, allocations: 49.91 kB / 450.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.2783, allocations: 83.41 kB / 450.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2783, allocations: 0 / 450.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/0.3173, allocations: 6.758 MB / 456.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.24, allocations: 4 kB / 456.9 MB, free: 12.56 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.573167419061065]