Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 175.2 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.4 MB / 222.9 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006988/0.0006989, allocations: 93.53 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003455, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2052, allocations: 47.57 MB / 375.2 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.001771/0.2071, allocations: 1.481 MB / 376.6 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.2122, allocations: 3.425 MB / 380.1 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.2124, allocations: 4.969 kB / 380.1 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.2128, allocations: 103.8 kB / 380.2 MB, free: 41.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/0.2129, allocations: 36.75 kB / 380.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004592/0.2175, allocations: 1.355 MB / 381.6 MB, free: 40.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003782/0.2179, allocations: 259.8 kB / 381.8 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2181, allocations: 33.39 kB / 381.9 MB, free: 40.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.2182, allocations: 95.91 kB / 382 MB, free: 40.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.2184, allocations: 95.34 kB / 382 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.2184, allocations: 6.031 kB / 382.1 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.2187, allocations: 118.3 kB / 382.2 MB, free: 40.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.994e-05/0.2188, allocations: 66.23 kB / 382.2 MB, free: 40.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.495e-05/0.2189, allocations: 108.7 kB / 382.3 MB, free: 40.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.2192, allocations: 248.6 kB / 382.6 MB, free: 40.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2192, allocations: 0 / 382.6 MB, free: 40.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2192, allocations: 1.156 kB / 382.6 MB, free: 40.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2192, allocations: 0 / 382.6 MB, free: 40.21 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.0007687/0.22, allocations: 0.5363 MB / 383.1 MB, free: 39.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.2201, allocations: 13.7 kB / 383.1 MB, free: 39.7 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.2201, allocations: 43.09 kB / 383.2 MB, free: 39.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.2202, allocations: 32.19 kB / 383.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.2205, allocations: 280.7 kB / 383.5 MB, free: 39.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.2205, allocations: 18.56 kB / 383.5 MB, free: 39.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.2205, allocations: 18.16 kB / 383.5 MB, free: 39.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.2209, allocations: 204.9 kB / 383.7 MB, free: 39.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2209, allocations: 0 / 383.7 MB, free: 39.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.2209, allocations: 5.438 kB / 383.7 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2209, allocations: 2.812 kB / 383.7 MB, free: 39.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.2211, allocations: 97.41 kB / 383.8 MB, free: 39.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.2219, allocations: 496.9 kB / 384.3 MB, free: 38.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.2222, allocations: 165.1 kB / 384.5 MB, free: 38.6 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.2223, allocations: 58.55 kB / 384.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.2224, allocations: 9.719 kB / 384.5 MB, free: 38.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.2224, allocations: 40.81 kB / 384.6 MB, free: 38.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.542e-06/0.2224, allocations: 0 / 384.6 MB, free: 38.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004486/0.2229, allocations: 223 kB / 384.8 MB, free: 38.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.223, allocations: 290.1 kB / 385.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.2232, allocations: 285.1 kB / 385.3 MB, free: 37.85 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.2233, allocations: 31.11 kB / 385.4 MB, free: 37.82 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.2234, allocations: 154.7 kB / 385.5 MB, free: 37.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.2234, allocations: 52.69 kB / 385.6 MB, free: 37.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.2234, allocations: 5.125 kB / 385.6 MB, free: 37.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.2235, allocations: 339.3 kB / 385.9 MB, free: 37.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.2237, allocations: 106.2 kB / 386 MB, free: 37.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.224, allocations: 183.3 kB / 386.2 MB, free: 37.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.2243, allocations: 209.9 kB / 386.4 MB, free: 37.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2243, allocations: 0 / 386.4 MB, free: 37.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004706/0.2248, allocations: 311.8 kB / 386.7 MB, free: 36.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2248, allocations: 8 kB / 386.7 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.2249, allocations: 0 / 386.7 MB, free: 36.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2249, allocations: 8.109 kB / 386.7 MB, free: 36.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.2251, allocations: 47.91 kB / 386.8 MB, free: 36.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.2251, allocations: 7.938 kB / 386.8 MB, free: 36.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.744e-05/0.2252, allocations: 27.77 kB / 386.8 MB, free: 36.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.2253, allocations: 4 kB / 386.8 MB, free: 36.72 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 0.0001156/0.2254, allocations: 150.6 kB / 387 MB, free: 36.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.2254, allocations: 27.62 kB / 387 MB, free: 36.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.317e-05/0.2255, allocations: 33.97 kB / 387 MB, free: 36.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2255, allocations: 0 / 387 MB, free: 36.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.2255, allocations: 3.938 kB / 387 MB, free: 36.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2255, allocations: 3.984 kB / 387 MB, free: 36.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.2258, allocations: 261.5 kB / 387.3 MB, free: 36.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2258, allocations: 4 kB / 387.3 MB, free: 36.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.2259, allocations: 27.92 kB / 387.3 MB, free: 36.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.226, allocations: 0 / 387.3 MB, free: 36.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.226, allocations: 7.984 kB / 387.3 MB, free: 36.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.226, allocations: 4 kB / 387.3 MB, free: 36.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.226, allocations: 7.938 kB / 387.3 MB, free: 36.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.2264, allocations: 331.1 kB / 387.7 MB, free: 35.8 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.2265, allocations: 100.8 kB / 387.8 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.2265, allocations: 8.062 kB / 387.8 MB, free: 35.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2266, allocations: 19.98 kB / 387.8 MB, free: 35.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.2267, allocations: 11.92 kB / 387.8 MB, free: 35.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2267, allocations: 128 / 387.8 MB, free: 35.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.2268, allocations: 195.1 kB / 388 MB, free: 35.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.292e-06/0.2268, allocations: 0 / 388 MB, free: 35.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.2272, allocations: 79.94 kB / 388.1 MB, free: 35.38 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.0006824/0.2279, allocations: 0.9165 MB / 389 MB, free: 34.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003627/0.2282, allocations: 289.5 kB / 389.3 MB, free: 34.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2283, allocations: 0 / 389.3 MB, free: 34.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.2284, allocations: 64.78 kB / 389.3 MB, free: 34.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.2289, allocations: 82.69 kB / 389.4 MB, free: 33.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.231, allocations: 1.723 MB / 391.1 MB, free: 32.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2312, allocations: 0.7716 MB / 391.9 MB, free: 31.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-05/0.2313, allocations: 79.42 kB / 392 MB, free: 31.34 MB / 298.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2313, allocations: 0 / 392 MB, free: 31.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.153/3.384, allocations: 4.483 MB / 396.5 MB, free: 26.84 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches