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.001265/0.001265, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001268/0.001268, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.347/1.347, allocations: 225.6 MB / 249.1 MB, free: 3.59 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 48.02 kB / 365.6 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09768, allocations: 52.14 MB / 417.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003045/0.1007, allocations: 1.842 MB / 419.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005543/0.1063, allocations: 3.522 MB / 423.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1064, allocations: 11.88 kB / 423.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004291/0.1068, allocations: 131.3 kB / 423.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.363e-05/0.1069, allocations: 39.66 kB / 423.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003938/0.1109, allocations: 1.781 MB / 425.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004185/0.1113, allocations: 303.1 kB / 425.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1114, allocations: 20.75 kB / 425.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.1116, allocations: 111.6 kB / 425.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.1117, allocations: 107.4 kB / 425.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.1118, allocations: 16 kB / 425.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.112, allocations: 155.6 kB / 425.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1121, allocations: 75.7 kB / 425.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1123, allocations: 99.33 kB / 426 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.1127, allocations: 334.6 kB / 426.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1127, allocations: 0 / 426.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1127, allocations: 0 / 426.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1127, allocations: 0 / 426.3 MB, free: 4.16 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.0008674/0.1136, allocations: 0.5993 MB / 426.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1136, allocations: 8.031 kB / 426.9 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.1136, allocations: 38.75 kB / 426.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.561e-05/0.1137, allocations: 32.75 kB / 427 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.1141, allocations: 303.9 kB / 427.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1142, allocations: 8 kB / 427.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.1142, allocations: 12 kB / 427.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.1145, allocations: 198.1 kB / 427.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1145, allocations: 3.984 kB / 427.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.1145, allocations: 11.94 kB / 427.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1145, allocations: 0 / 427.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.1147, allocations: 91.88 kB / 427.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008319/0.1156, allocations: 480.5 kB / 428 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1159, allocations: 170.4 kB / 428.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.116, allocations: 60.83 kB / 428.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.116, allocations: 4 kB / 428.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.116, allocations: 30.56 kB / 428.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.116, allocations: 0 / 428.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004661/0.1165, allocations: 228.9 kB / 428.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001546/0.1166, allocations: 290.7 kB / 428.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.1169, allocations: 284.5 kB / 429.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.1169, allocations: 29.7 kB / 429.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1171, allocations: 152.6 kB / 429.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.1171, allocations: 59.47 kB / 429.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.1172, allocations: 61.69 kB / 429.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1174, allocations: 338.8 kB / 429.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.1175, allocations: 100 kB / 429.8 MB, free: 328 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.1178, allocations: 185.1 kB / 430 MB, free: 112 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.1181, allocations: 205.4 kB / 430.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1181, allocations: 0 / 430.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004626/0.1186, allocations: 305.4 kB / 430.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1186, allocations: 4 kB / 430.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.1186, allocations: 8 kB / 430.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/0.1186, allocations: 7.938 kB / 430.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.1189, allocations: 51.91 kB / 430.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1189, allocations: 0 / 430.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.846e-05/0.119, allocations: 19.88 kB / 430.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.1191, allocations: 12.09 kB / 430.6 MB, free: 15.5 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.0001428/0.1192, allocations: 145.8 kB / 430.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.1192, allocations: 31.8 kB / 430.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/0.1193, allocations: 37.92 kB / 430.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1193, allocations: 0 / 430.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1193, allocations: 3.938 kB / 430.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.1193, allocations: 11.98 kB / 430.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.1196, allocations: 269.4 kB / 431.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1196, allocations: 0 / 431.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.1198, allocations: 23.98 kB / 431.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1198, allocations: 0 / 431.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1198, allocations: 11.92 kB / 431.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1198, allocations: 0 / 431.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1198, allocations: 0 / 431.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.1203, allocations: 339.2 kB / 431.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.1204, allocations: 100.9 kB / 431.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.1204, allocations: 7.938 kB / 431.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1206, allocations: 12.05 kB / 431.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.1206, allocations: 7.984 kB / 431.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.617e-06/0.1206, allocations: 4 kB / 431.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1208, allocations: 203.1 kB / 431.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1208, allocations: 0 / 431.8 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.1211, allocations: 71.88 kB / 431.8 MB, free: 14.15 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.0009089/0.122, allocations: 0.9256 MB / 432.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004684/0.1225, allocations: 277.2 kB / 433 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1225, allocations: 4 kB / 433 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1226, allocations: 67.89 kB / 433.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1231, allocations: 73.28 kB / 433.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.1265, allocations: 2.796 MB / 436 MB, free: 9.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1269, allocations: 0.7675 MB / 436.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.127, allocations: 50.16 kB / 436.8 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.1272, allocations: 83.41 kB / 436.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1272, allocations: 0 / 436.9 MB, free: 8.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.158, allocations: 6.556 MB / 443.4 MB, free: 2.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.124, allocations: 15.86 kB / 443.4 MB, free: 2.508 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.516502368729562]