Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 201.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.327/1.327, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 48.03 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2113, allocations: 53.37 MB / 431.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00291/0.2142, allocations: 1.864 MB / 433.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005384/0.2196, allocations: 3.592 MB / 437.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.2197, allocations: 11.81 kB / 437.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.22, allocations: 135.4 kB / 437.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.2201, allocations: 39.66 kB / 437.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.2235, allocations: 1.769 MB / 439.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.2239, allocations: 323.1 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.224, allocations: 20.92 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.2242, allocations: 119.5 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.2243, allocations: 111.4 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.2243, allocations: 12 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002852/0.2246, allocations: 179.7 kB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.919e-05/0.2247, allocations: 71.7 kB / 440.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.599e-05/0.2248, allocations: 107.3 kB / 440.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004928/0.2253, allocations: 343.6 kB / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2253, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2253, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2253, allocations: 0 / 440.6 MB, free: 14.32 MB / 350.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.000912/0.2262, allocations: 0.5202 MB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2263, allocations: 12.03 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.555e-05/0.2263, allocations: 4.375 kB / 441.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.2263, allocations: 42.69 kB / 441.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.2264, allocations: 32.75 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.2267, allocations: 222.6 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.2268, allocations: 19.81 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.2268, allocations: 19.95 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003141/0.2271, allocations: 208.1 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.2271, allocations: 3.984 kB / 441.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2271, allocations: 4 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2271, allocations: 7.938 kB / 441.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.2273, allocations: 83.94 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.2281, allocations: 459.7 kB / 442.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.2284, allocations: 158.5 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2285, allocations: 64.81 kB / 442.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.2285, allocations: 0 / 442.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.2285, allocations: 34.56 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.2285, allocations: 0 / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004394/0.229, allocations: 219.2 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.2291, allocations: 298.7 kB / 443 MB, free: 11.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.2294, allocations: 276.5 kB / 443.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.2294, allocations: 37.7 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.2295, allocations: 156.5 kB / 443.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.638e-05/0.2296, allocations: 55.53 kB / 443.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.2297, allocations: 57.7 kB / 443.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2298, allocations: 338.8 kB / 443.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.23, allocations: 103.9 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.2302, allocations: 180.5 kB / 444.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.2305, allocations: 206 kB / 444.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2306, allocations: 0 / 444.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004611/0.231, allocations: 305.4 kB / 444.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.231, allocations: 4 kB / 444.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.231, allocations: 11.98 kB / 444.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2311, allocations: 4 kB / 444.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.2313, allocations: 59.84 kB / 444.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2313, allocations: 112 / 444.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2314, allocations: 31.77 kB / 444.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.2314, allocations: 4 kB / 444.7 MB, free: 9.848 MB / 350.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.000138/0.2316, allocations: 145.8 kB / 444.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.2316, allocations: 27.86 kB / 444.9 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.2317, allocations: 29.91 kB / 444.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2317, allocations: 7.938 kB / 444.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2317, allocations: 96 / 444.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2317, allocations: 3.938 kB / 445 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.232, allocations: 244.5 kB / 445.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.232, allocations: 4 kB / 445.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.2321, allocations: 19.98 kB / 445.2 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2321, allocations: 4 kB / 445.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2322, allocations: 4 kB / 445.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2322, allocations: 3.938 kB / 445.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2322, allocations: 4 kB / 445.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.2326, allocations: 339.2 kB / 445.6 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.2326, allocations: 23.81 kB / 445.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.2327, allocations: 8.062 kB / 445.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.2328, allocations: 11.92 kB / 445.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.2328, allocations: 11.98 kB / 445.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.2328, allocations: 0 / 445.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.233, allocations: 195.1 kB / 445.8 MB, free: 8.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.233, allocations: 4 kB / 445.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003234/0.2333, allocations: 79.88 kB / 445.9 MB, free: 8.633 MB / 350.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.0008438/0.2342, allocations: 0.9097 MB / 446.8 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.2346, allocations: 269 kB / 447.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2346, allocations: 0 / 447.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.2347, allocations: 63.91 kB / 447.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.2352, allocations: 86.3 kB / 447.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.2385, allocations: 2.793 MB / 450 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.2389, allocations: 0.7714 MB / 450.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.239, allocations: 45.86 kB / 450.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2391, allocations: 79.41 kB / 450.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2391, allocations: 0 / 450.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.268, allocations: 6.789 MB / 457.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.93, allocations: 4 kB / 457.7 MB, free: 12.86 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.265985500009265]