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.001395/0.001395, allocations: 121.6 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.001581/0.001581, allocations: 204.7 kB / 18.74 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.427/1.427, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.239, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003041/0.2421, allocations: 1.84 MB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005951/0.2481, allocations: 3.542 MB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.2483, allocations: 7.938 kB / 414.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000512/0.2489, allocations: 127.4 kB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.249, allocations: 35.66 kB / 414.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004278/0.2533, allocations: 1.786 MB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.2537, allocations: 303.2 kB / 416.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.2539, allocations: 40.62 kB / 416.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.2541, allocations: 115.5 kB / 416.5 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.2543, allocations: 103.4 kB / 416.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2543, allocations: 12 kB / 416.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.2546, allocations: 151.7 kB / 416.8 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.2547, allocations: 71.75 kB / 416.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2548, allocations: 103.3 kB / 417 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004056/0.2552, allocations: 334.6 kB / 417.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2552, allocations: 0 / 417.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2552, allocations: 0 / 417.3 MB, free: 8.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.2553, allocations: 4 kB / 417.3 MB, free: 8.973 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.0008384/0.2561, allocations: 0.5861 MB / 417.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.2562, allocations: 8.031 kB / 417.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.822e-05/0.2562, allocations: 46.73 kB / 417.9 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.2563, allocations: 32.75 kB / 418 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.2567, allocations: 288.4 kB / 418.3 MB, free: 7.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.2567, allocations: 16.31 kB / 418.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.2568, allocations: 15.95 kB / 418.3 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.2571, allocations: 202.1 kB / 418.5 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.2571, allocations: 3.938 kB / 418.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2572, allocations: 8 kB / 418.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.2572, allocations: 0 / 418.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.2574, allocations: 91.88 kB / 418.6 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007639/0.2582, allocations: 488.6 kB / 419.1 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.2584, allocations: 166.5 kB / 419.2 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2586, allocations: 68.8 kB / 419.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.2586, allocations: 4 kB / 419.3 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2586, allocations: 34.56 kB / 419.3 MB, free: 6.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.2586, allocations: 3.938 kB / 419.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004616/0.2591, allocations: 221.4 kB / 419.5 MB, free: 6.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.2593, allocations: 290.7 kB / 419.8 MB, free: 6.168 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.2595, allocations: 280.5 kB / 420.1 MB, free: 5.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.2596, allocations: 33.64 kB / 420.1 MB, free: 5.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.2597, allocations: 160.5 kB / 420.3 MB, free: 5.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.2597, allocations: 51.58 kB / 420.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.779e-05/0.2598, allocations: 57.7 kB / 420.4 MB, free: 5.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.26, allocations: 342.8 kB / 420.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.2602, allocations: 99.94 kB / 420.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.2604, allocations: 180.5 kB / 421 MB, free: 4.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.2607, allocations: 209.4 kB / 421.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2607, allocations: 4 kB / 421.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004519/0.2612, allocations: 305.5 kB / 421.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.2612, allocations: 4 kB / 421.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.2613, allocations: 7.984 kB / 421.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2613, allocations: 0 / 421.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.2615, allocations: 47.97 kB / 421.6 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2616, allocations: 3.938 kB / 421.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2617, allocations: 27.83 kB / 421.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.2617, allocations: 4 kB / 421.6 MB, free: 4.316 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.00014/0.2619, allocations: 162 kB / 421.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.79e-05/0.2619, allocations: 31.75 kB / 421.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.262, allocations: 29.97 kB / 421.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.262, allocations: 0 / 421.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.262, allocations: 3.938 kB / 421.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.262, allocations: 4 kB / 421.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.2623, allocations: 265.5 kB / 422.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2623, allocations: 0 / 422.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.2625, allocations: 27.92 kB / 422.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2625, allocations: 4 kB / 422.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.2625, allocations: 4 kB / 422.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2625, allocations: 4 kB / 422.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2625, allocations: 3.938 kB / 422.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.263, allocations: 334.8 kB / 422.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.263, allocations: 100.9 kB / 422.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.2631, allocations: 8.062 kB / 422.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.2632, allocations: 15.98 kB / 422.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.2633, allocations: 11.88 kB / 422.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2633, allocations: 8.109 kB / 422.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.2634, allocations: 191.2 kB / 422.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2635, allocations: 3.938 kB / 422.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003365/0.2638, allocations: 79.86 kB / 422.9 MB, free: 2.957 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.000784/0.2646, allocations: 0.9151 MB / 423.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00042/0.265, allocations: 292.9 kB / 424.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.265, allocations: 0 / 424.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2652, allocations: 55.97 kB / 424.1 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.2656, allocations: 78.97 kB / 424.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.2688, allocations: 2.785 MB / 427 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2691, allocations: 0.7752 MB / 427.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.2693, allocations: 41.91 kB / 427.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2694, allocations: 83.41 kB / 427.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2694, allocations: 0 / 427.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.293, allocations: 6.535 MB / 434.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.003, allocations: 7.438 kB / 434.4 MB, free: 7.34 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.csv","/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