Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001094/0.001094, allocations: 194 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 226.5 MB / 244.7 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007132/0.0007134, allocations: 97.98 kB / 296.7 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002435/0.0002437, allocations: 8 kB / 356.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2024, allocations: 51.29 MB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001379/0.2038, allocations: 1.5 MB / 409.6 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003683/0.2075, allocations: 3.408 MB / 413 MB, free: 22.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.2076, allocations: 7.875 kB / 413 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.208, allocations: 107.5 kB / 413.1 MB, free: 22.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.2081, allocations: 31.72 kB / 413.2 MB, free: 22.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.2106, allocations: 1.355 MB / 414.5 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.2108, allocations: 271.1 kB / 414.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.2109, allocations: 36.72 kB / 414.8 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.211, allocations: 95.62 kB / 414.9 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.984e-05/0.2111, allocations: 91.48 kB / 415 MB, free: 20.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.2112, allocations: 4 kB / 415 MB, free: 20.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.2114, allocations: 123.7 kB / 415.1 MB, free: 20.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.2114, allocations: 67.8 kB / 415.2 MB, free: 20.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.2115, allocations: 117.1 kB / 415.3 MB, free: 20.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.2117, allocations: 240.7 kB / 415.6 MB, free: 20.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2117, allocations: 0 / 415.6 MB, free: 20.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2117, allocations: 0 / 415.6 MB, free: 20.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2117, allocations: 0 / 415.6 MB, free: 20.25 MB / 298.7 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.0005832/0.2123, allocations: 0.5374 MB / 416.1 MB, free: 19.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2124, allocations: 12.03 kB / 416.1 MB, free: 19.65 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.2124, allocations: 46.73 kB / 416.1 MB, free: 19.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.2125, allocations: 32.56 kB / 416.2 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.2127, allocations: 280.2 kB / 416.5 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.2127, allocations: 12.31 kB / 416.5 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.554e-05/0.2127, allocations: 16 kB / 416.5 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.213, allocations: 202.1 kB / 416.7 MB, free: 18.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.213, allocations: 0 / 416.7 MB, free: 18.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.213, allocations: 4 kB / 416.7 MB, free: 18.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.213, allocations: 7.984 kB / 416.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.2132, allocations: 95.81 kB / 416.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.2138, allocations: 484.5 kB / 417.3 MB, free: 18.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.2141, allocations: 178.4 kB / 417.4 MB, free: 18.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.2142, allocations: 60.83 kB / 417.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.2142, allocations: 0 / 417.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.2142, allocations: 38.56 kB / 417.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.2142, allocations: 0 / 417.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.000368/0.2146, allocations: 225.3 kB / 417.7 MB, free: 17.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.2147, allocations: 290.7 kB / 418 MB, free: 17.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.2148, allocations: 288.3 kB / 418.3 MB, free: 17.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2149, allocations: 29.7 kB / 418.3 MB, free: 17.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.2149, allocations: 156.5 kB / 418.5 MB, free: 17.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.215, allocations: 47.27 kB / 418.5 MB, free: 16.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.215, allocations: 8 kB / 418.5 MB, free: 16.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.117e-05/0.215, allocations: 338.8 kB / 418.9 MB, free: 16.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.2152, allocations: 99.94 kB / 419 MB, free: 16.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.2154, allocations: 181 kB / 419.2 MB, free: 16.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.2156, allocations: 221.4 kB / 419.4 MB, free: 16.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2156, allocations: 0 / 419.4 MB, free: 16.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003476/0.216, allocations: 305.2 kB / 419.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.216, allocations: 10.97 kB / 419.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.216, allocations: 3.984 kB / 419.7 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2161, allocations: 8 kB / 419.7 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.2163, allocations: 47.91 kB / 419.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2163, allocations: 7.938 kB / 419.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.36e-05/0.2164, allocations: 23.78 kB / 419.8 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2165, allocations: 4 kB / 419.8 MB, free: 15.69 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.2165, allocations: 149.8 kB / 419.9 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.2166, allocations: 31.56 kB / 419.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.2166, allocations: 33.97 kB / 420 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2167, allocations: 0 / 420 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2167, allocations: 3.938 kB / 420 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2167, allocations: 0 / 420 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.2169, allocations: 265.5 kB / 420.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2169, allocations: 4.094 kB / 420.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.217, allocations: 28.03 kB / 420.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2171, allocations: 3.938 kB / 420.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2171, allocations: 4 kB / 420.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2171, allocations: 4 kB / 420.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2171, allocations: 7.938 kB / 420.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.2174, allocations: 335 kB / 420.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.2175, allocations: 104.8 kB / 420.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.2175, allocations: 12.19 kB / 420.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2176, allocations: 8 kB / 420.7 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.2177, allocations: 19.92 kB / 420.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2177, allocations: 0 / 420.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001145/0.2178, allocations: 195.1 kB / 421 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2178, allocations: 0 / 421 MB, free: 14.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.2181, allocations: 79.89 kB / 421 MB, free: 14.33 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005807/0.2187, allocations: 0.9187 MB / 422 MB, free: 13.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000321/0.219, allocations: 273 kB / 422.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2191, allocations: 4 kB / 422.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.888e-05/0.2192, allocations: 75.89 kB / 422.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.2196, allocations: 69.55 kB / 422.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.2215, allocations: 1.735 MB / 424.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.2216, allocations: 0.7716 MB / 424.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-05/0.2217, allocations: 83.41 kB / 425 MB, free: 10.27 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2217, allocations: 0 / 425 MB, free: 10.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.206/3.427, allocations: 4.467 MB / 429.4 MB, free: 5.801 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches