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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 116.2 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 205.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 60.41 kB / 306.5 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07514/0.07625, allocations: 50.53 MB / 357.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002705/0.07898, allocations: 1.896 MB / 359 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004911/0.08392, allocations: 3.601 MB / 362.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.08409, allocations: 3.938 kB / 362.6 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.08448, allocations: 115.5 kB / 362.7 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.08461, allocations: 27.72 kB / 362.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003323/0.08794, allocations: 1.606 MB / 364.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.0883, allocations: 303.1 kB / 364.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.08842, allocations: 44.64 kB / 364.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.08862, allocations: 111.6 kB / 364.8 MB, free: 6.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.08878, allocations: 107.4 kB / 364.9 MB, free: 6.512 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.08881, allocations: 12 kB / 364.9 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.08905, allocations: 151.7 kB / 365 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.08916, allocations: 75.75 kB / 365.1 MB, free: 6.277 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.866e-05/0.08925, allocations: 103.3 kB / 365.2 MB, free: 6.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.08961, allocations: 326.9 kB / 365.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.08962, allocations: 0 / 365.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.08963, allocations: 0 / 365.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.08964, allocations: 0 / 365.5 MB, free: 5.855 MB / 302.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.0007534/0.0904, allocations: 0.5841 MB / 366.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.09044, allocations: 11.97 kB / 366.1 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.09051, allocations: 46.73 kB / 366.2 MB, free: 5.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.09057, allocations: 28.66 kB / 366.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.09086, allocations: 284.2 kB / 366.5 MB, free: 4.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.09088, allocations: 12.31 kB / 366.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.09092, allocations: 15.91 kB / 366.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.09121, allocations: 204.6 kB / 366.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.09123, allocations: 0 / 366.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.09125, allocations: 8 kB / 366.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.09126, allocations: 0 / 366.7 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.09145, allocations: 91.88 kB / 366.8 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.0922, allocations: 488.5 kB / 367.3 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.09247, allocations: 174.4 kB / 367.4 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.09258, allocations: 60.83 kB / 367.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.09261, allocations: 4 kB / 367.5 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.09264, allocations: 34.56 kB / 367.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.09265, allocations: 0 / 367.5 MB, free: 3.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004207/0.09308, allocations: 220.7 kB / 367.8 MB, free: 3.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.09321, allocations: 286.7 kB / 368 MB, free: 3.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.09347, allocations: 284.5 kB / 368.3 MB, free: 2.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.0935, allocations: 37.64 kB / 368.4 MB, free: 2.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.09361, allocations: 160.4 kB / 368.5 MB, free: 2.578 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.09365, allocations: 47.27 kB / 368.6 MB, free: 2.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.09374, allocations: 65.62 kB / 368.6 MB, free: 2.461 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.09386, allocations: 338.8 kB / 369 MB, free: 2.121 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.09403, allocations: 95.94 kB / 369 MB, free: 2.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.09425, allocations: 186.1 kB / 369.2 MB, free: 1.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.09456, allocations: 205.2 kB / 369.4 MB, free: 1.613 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.09457, allocations: 0 / 369.4 MB, free: 1.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004196/0.095, allocations: 305.5 kB / 369.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.09502, allocations: 6.5 kB / 369.7 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.09504, allocations: 8 kB / 369.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.09506, allocations: 4 kB / 369.7 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.09531, allocations: 47.95 kB / 369.8 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.09532, allocations: 3.938 kB / 369.8 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.09543, allocations: 27.69 kB / 369.8 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.09546, allocations: 8 kB / 369.8 MB, free: 1.207 MB / 302.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.0001176/0.09558, allocations: 157.7 kB / 370 MB, free: 1.043 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.09563, allocations: 23.72 kB / 370 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.0957, allocations: 33.97 kB / 370 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.0957, allocations: 0 / 370 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.09571, allocations: 7.938 kB / 370.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.09572, allocations: 0 / 370.1 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.09597, allocations: 265.5 kB / 370.3 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.09599, allocations: 3.984 kB / 370.3 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.09616, allocations: 31.92 kB / 370.3 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.09617, allocations: 0 / 370.3 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.09619, allocations: 8.109 kB / 370.4 MB, free: 0.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.0962, allocations: 3.938 kB / 370.4 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.09621, allocations: 3.938 kB / 370.4 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.09661, allocations: 331 kB / 370.7 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.09667, allocations: 96.83 kB / 370.8 MB, free: 168 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.09672, allocations: 12.05 kB / 370.8 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.09685, allocations: 4 kB / 370.8 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.09689, allocations: 19.86 kB / 370.8 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.0969, allocations: 4 kB / 370.8 MB, free: 128 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.1311/0.228, allocations: 194.7 kB / 371 MB, free: 20.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.228, allocations: 0 / 371 MB, free: 20.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.2284, allocations: 78.05 kB / 371.1 MB, free: 20.92 MB / 302.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.0007278/0.2292, allocations: 0.9065 MB / 372 MB, free: 20.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.2296, allocations: 297.3 kB / 372.3 MB, free: 20.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2296, allocations: 0 / 372.3 MB, free: 20.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.2298, allocations: 62.38 kB / 372.3 MB, free: 20.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.2302, allocations: 81.23 kB / 372.4 MB, free: 20.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.2331, allocations: 2.849 MB / 375.3 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.2333, allocations: 0.7666 MB / 376 MB, free: 18.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.2334, allocations: 52.03 kB / 376.1 MB, free: 18.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.2335, allocations: 83.02 kB / 376.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2335, allocations: 3.828 kB / 376.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5701/0.8037, allocations: 6.341 MB / 382.5 MB, free: 17.02 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.8039, allocations: 187.6 kB / 382.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.766, allocations: 0 / 382.7 MB, free: 16.77 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches