Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 198.5 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.6 MB / 249.8 MB, free: 3.492 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 47.92 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1006, allocations: 52.14 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002958/0.1035, allocations: 1.836 MB / 420.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005576/0.1091, allocations: 3.526 MB / 423.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1093, allocations: 11.81 kB / 423.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.1097, allocations: 139.3 kB / 424 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.1098, allocations: 35.66 kB / 424 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.1136, allocations: 1.782 MB / 425.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.114, allocations: 307.1 kB / 426.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1141, allocations: 20.73 kB / 426.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.1143, allocations: 111.6 kB / 426.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.1145, allocations: 115.4 kB / 426.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.1145, allocations: 12 kB / 426.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.1147, allocations: 151.7 kB / 426.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1149, allocations: 71.69 kB / 426.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.115, allocations: 99.34 kB / 426.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.1154, allocations: 338.6 kB / 427 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1154, allocations: 4 kB / 427 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1154, allocations: 0 / 427 MB, free: 4.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1154, allocations: 0 / 427 MB, free: 4.074 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.0009199/0.1163, allocations: 0.5915 MB / 427.6 MB, free: 3.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1164, allocations: 12.03 kB / 427.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.24e-05/0.1164, allocations: 384 / 427.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.1164, allocations: 42.73 kB / 427.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.307e-05/0.1165, allocations: 32.75 kB / 427.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.1169, allocations: 291.5 kB / 428 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1169, allocations: 12 kB / 428 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.117, allocations: 23.98 kB / 428 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.1173, allocations: 200 kB / 428.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1173, allocations: 7.875 kB / 428.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.1173, allocations: 8 kB / 428.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1173, allocations: 0 / 428.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1175, allocations: 87.88 kB / 428.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007978/0.1183, allocations: 488.4 kB / 428.8 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1186, allocations: 174.5 kB / 428.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1187, allocations: 52.83 kB / 429 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.1187, allocations: 4 kB / 429 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1188, allocations: 30.75 kB / 429 MB, free: 1.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1188, allocations: 0 / 429 MB, free: 1.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004633/0.1192, allocations: 229.4 kB / 429.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.1194, allocations: 286.7 kB / 429.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.1197, allocations: 284.5 kB / 429.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.1197, allocations: 29.7 kB / 429.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.1198, allocations: 152.6 kB / 430 MB, free: 0.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.1198, allocations: 55.48 kB / 430 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.1199, allocations: 65.78 kB / 430.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1201, allocations: 342.8 kB / 430.4 MB, free: 332 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.1203, allocations: 103.9 kB / 430.5 MB, free: 228 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.1205, allocations: 177.1 kB / 430.7 MB, free: 20 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.1209, allocations: 205.5 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1209, allocations: 0 / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004816/0.1213, allocations: 309.4 kB / 431.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1214, allocations: 11.94 kB / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.1214, allocations: 0 / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.1214, allocations: 4 kB / 431.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.1217, allocations: 51.89 kB / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1217, allocations: 0 / 431.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.1218, allocations: 19.89 kB / 431.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.1218, allocations: 12 kB / 431.3 MB, free: 15.41 MB / 366.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.0001638/0.122, allocations: 153.8 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.122, allocations: 31.75 kB / 431.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.1221, allocations: 25.97 kB / 431.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.1221, allocations: 4 kB / 431.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1221, allocations: 0 / 431.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1221, allocations: 0 / 431.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1224, allocations: 273.4 kB / 431.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1224, allocations: 0 / 431.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.1226, allocations: 27.98 kB / 431.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1226, allocations: 8.031 kB / 431.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1226, allocations: 7.938 kB / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1226, allocations: 0 / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1226, allocations: 0 / 431.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.1231, allocations: 335.2 kB / 432.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.1232, allocations: 100.9 kB / 432.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.1232, allocations: 11.92 kB / 432.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.1233, allocations: 16.05 kB / 432.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.1234, allocations: 8.109 kB / 432.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1234, allocations: 8 kB / 432.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.1236, allocations: 199.1 kB / 432.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1236, allocations: 0 / 432.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.124, allocations: 75.88 kB / 432.6 MB, free: 14.05 MB / 366.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.0009638/0.1249, allocations: 0.9281 MB / 433.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.1254, allocations: 273.4 kB / 433.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1254, allocations: 0 / 433.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1255, allocations: 63.89 kB / 433.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.126, allocations: 64.55 kB / 433.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.1295, allocations: 2.799 MB / 436.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.13, allocations: 0.7714 MB / 437.5 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.1301, allocations: 45.84 kB / 437.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.1302, allocations: 87.41 kB / 437.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1302, allocations: 0 / 437.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.1566, allocations: 6.597 MB / 444.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.894/8.051, allocations: 12.03 kB / 444.2 MB, free: 2.398 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.590707755007315]