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.001794/0.001794, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001851/0.001851, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.91 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2416, allocations: 50.55 MB / 408.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002962/0.2446, allocations: 1.853 MB / 410.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005774/0.2504, allocations: 3.538 MB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.2505, allocations: 7.938 kB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004174/0.251, allocations: 127.3 kB / 414.3 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2511, allocations: 43.7 kB / 414.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004039/0.2552, allocations: 1.776 MB / 416.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.2556, allocations: 307.2 kB / 416.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2557, allocations: 40.66 kB / 416.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.2559, allocations: 115.5 kB / 416.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.2561, allocations: 99.42 kB / 416.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.459e-05/0.2562, allocations: 12 kB / 416.7 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002792/0.2564, allocations: 151.7 kB / 416.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2566, allocations: 71.69 kB / 416.9 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.2567, allocations: 103.3 kB / 417 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.2571, allocations: 334.6 kB / 417.4 MB, free: 8.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2572, allocations: 4 kB / 417.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2572, allocations: 4 kB / 417.4 MB, free: 8.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2572, allocations: 0 / 417.4 MB, free: 8.914 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.00089/0.2581, allocations: 0.5838 MB / 418 MB, free: 8.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2581, allocations: 8.031 kB / 418 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.791e-05/0.2582, allocations: 42.75 kB / 418 MB, free: 8.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.2583, allocations: 28.75 kB / 418 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.2587, allocations: 300.3 kB / 418.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.2587, allocations: 12.31 kB / 418.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.2588, allocations: 23.95 kB / 418.4 MB, free: 7.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.2591, allocations: 198.1 kB / 418.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2591, allocations: 0 / 418.5 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.2591, allocations: 8 kB / 418.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.2592, allocations: 7.984 kB / 418.6 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.2594, allocations: 83.88 kB / 418.6 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.2602, allocations: 492.6 kB / 419.1 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.2605, allocations: 166.4 kB / 419.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.2607, allocations: 60.83 kB / 419.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.2607, allocations: 0 / 419.4 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.2607, allocations: 38.5 kB / 419.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.2607, allocations: 4 kB / 419.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004863/0.2612, allocations: 221.5 kB / 419.6 MB, free: 6.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.2614, allocations: 290.7 kB / 419.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.2618, allocations: 280.5 kB / 420.2 MB, free: 5.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.2618, allocations: 33.7 kB / 420.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.262, allocations: 156.5 kB / 420.4 MB, free: 5.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.983e-05/0.262, allocations: 51.59 kB / 420.4 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.2621, allocations: 57.69 kB / 420.5 MB, free: 5.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2623, allocations: 342.8 kB / 420.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.2625, allocations: 103.9 kB / 420.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.2628, allocations: 176.5 kB / 421.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.2632, allocations: 217.3 kB / 421.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2632, allocations: 0 / 421.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005081/0.2637, allocations: 297.6 kB / 421.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.2637, allocations: 11.98 kB / 421.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.2637, allocations: 0 / 421.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2638, allocations: 4 kB / 421.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.264, allocations: 51.91 kB / 421.6 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2641, allocations: 7.938 kB / 421.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2642, allocations: 23.81 kB / 421.7 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.2642, allocations: 16.11 kB / 421.7 MB, free: 4.25 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.0001492/0.2644, allocations: 146 kB / 421.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.012e-05/0.2644, allocations: 27.81 kB / 421.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.666e-05/0.2645, allocations: 29.97 kB / 421.9 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2645, allocations: 4 kB / 421.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.2645, allocations: 7.938 kB / 421.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2645, allocations: 3.984 kB / 421.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.2649, allocations: 257.5 kB / 422.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2649, allocations: 7.938 kB / 422.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.2651, allocations: 27.98 kB / 422.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2651, allocations: 0 / 422.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.2651, allocations: 7.984 kB / 422.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2651, allocations: 0 / 422.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.2651, allocations: 3.938 kB / 422.2 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.2656, allocations: 338.3 kB / 422.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.2657, allocations: 104.9 kB / 422.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.2658, allocations: 4 kB / 422.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2659, allocations: 12.05 kB / 422.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.266, allocations: 11.92 kB / 422.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.266, allocations: 4.094 kB / 422.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.2662, allocations: 203 kB / 422.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2662, allocations: 0 / 422.9 MB, free: 2.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.2666, allocations: 79.86 kB / 422.9 MB, free: 2.902 MB / 334.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.0009517/0.2675, allocations: 0.9113 MB / 423.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004959/0.268, allocations: 284.8 kB / 424.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2681, allocations: 0 / 424.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2682, allocations: 67.91 kB / 424.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.2687, allocations: 84.2 kB / 424.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.2723, allocations: 2.774 MB / 427 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.2727, allocations: 0.7791 MB / 427.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.2729, allocations: 46.16 kB / 427.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.273, allocations: 83.41 kB / 428 MB, free: 13.73 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.273, allocations: 4 kB / 428 MB, free: 13.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03023/0.3033, allocations: 6.528 MB / 434.5 MB, free: 7.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/8.917, allocations: 11.98 kB / 434.5 MB, free: 7.277 MB / 350.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.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) Reference file matches