Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001775/0.001775, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002226/0.002226, allocations: 205.3 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 51.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2436, allocations: 53.35 MB / 431.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003003/0.2466, allocations: 1.783 MB / 432.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00591/0.2525, allocations: 3.316 MB / 436.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.2526, allocations: 15.81 kB / 436.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004399/0.2531, allocations: 135.3 kB / 436.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2532, allocations: 43.66 kB / 436.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.2571, allocations: 1.792 MB / 438.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.2576, allocations: 307.1 kB / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2577, allocations: 24.92 kB / 438.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.2579, allocations: 119.5 kB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.2581, allocations: 115.4 kB / 438.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.2581, allocations: 12 kB / 438.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.2584, allocations: 171.7 kB / 438.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2585, allocations: 83.67 kB / 439 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.234e-05/0.2586, allocations: 75.48 kB / 439 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.2591, allocations: 350.5 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2591, allocations: 4 kB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.978e-06/0.2591, allocations: 4 kB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.2591, allocations: 0 / 439.4 MB, free: 14.47 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.0008543/0.2599, allocations: 0.5085 MB / 439.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.26, allocations: 12.03 kB / 439.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.26, allocations: 46.73 kB / 439.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.401e-05/0.2601, allocations: 28.75 kB / 440 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.2605, allocations: 230.5 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.2606, allocations: 12.31 kB / 440.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.017e-05/0.2606, allocations: 23.94 kB / 440.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.2611, allocations: 432.5 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2611, allocations: 0 / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.2611, allocations: 8 kB / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.2611, allocations: 0 / 440.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.2613, allocations: 91.88 kB / 440.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008428/0.2621, allocations: 439.7 kB / 441.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.2624, allocations: 166.4 kB / 441.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2626, allocations: 56.81 kB / 441.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.2626, allocations: 4 kB / 441.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.2626, allocations: 38.56 kB / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.2626, allocations: 0 / 441.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004557/0.2631, allocations: 213.4 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/0.2633, allocations: 298.8 kB / 441.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.2636, allocations: 284.5 kB / 442.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.2636, allocations: 29.7 kB / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.2638, allocations: 156.5 kB / 442.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.275e-05/0.2638, allocations: 51.53 kB / 442.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.2639, allocations: 61.69 kB / 442.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.2641, allocations: 346.7 kB / 442.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.2643, allocations: 96.06 kB / 442.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.2647, allocations: 419.7 kB / 443.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.2651, allocations: 206 kB / 443.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2651, allocations: 7.938 kB / 443.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005416/0.2656, allocations: 301.4 kB / 443.9 MB, free: 9.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2656, allocations: 4 kB / 443.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.2657, allocations: 7.984 kB / 443.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.2657, allocations: 4 kB / 443.9 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.266, allocations: 43.97 kB / 443.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.266, allocations: 3.938 kB / 443.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2661, allocations: 31.77 kB / 443.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.2661, allocations: 8 kB / 444 MB, free: 9.473 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.000163/0.2663, allocations: 145.8 kB / 444.1 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.2663, allocations: 31.81 kB / 444.1 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.2664, allocations: 25.91 kB / 444.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2664, allocations: 4 kB / 444.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2664, allocations: 3.938 kB / 444.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2664, allocations: 3.984 kB / 444.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.2667, allocations: 224.6 kB / 444.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2667, allocations: 0 / 444.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.2669, allocations: 27.92 kB / 444.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2669, allocations: 4 kB / 444.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.2669, allocations: 11.98 kB / 444.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.267, allocations: 0 / 444.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.267, allocations: 3.938 kB / 444.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.2675, allocations: 337.4 kB / 444.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.2675, allocations: 23.81 kB / 444.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.2676, allocations: 12 kB / 444.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.2677, allocations: 11.98 kB / 444.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.2678, allocations: 11.92 kB / 444.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.2678, allocations: 4.125 kB / 444.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.268, allocations: 199.1 kB / 445 MB, free: 8.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.268, allocations: 0 / 445 MB, free: 8.348 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000399/0.2684, allocations: 79.88 kB / 445.1 MB, free: 8.27 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.0009738/0.2694, allocations: 0.9111 MB / 446 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000447/0.2699, allocations: 269 kB / 446.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2699, allocations: 0 / 446.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.27, allocations: 64.05 kB / 446.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.2705, allocations: 80.3 kB / 446.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.2742, allocations: 2.777 MB / 449.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.2744, allocations: 161.8 kB / 449.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.2745, allocations: 41.91 kB / 449.4 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.2747, allocations: 83.41 kB / 449.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2747, allocations: 4 kB / 449.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0499/0.3246, allocations: 7.456 MB / 456.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.09, allocations: 11.86 kB / 456.9 MB, free: 12.46 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.482650050980737]