Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001284/0.001284, allocations: 110.3 kB / 17.08 MB, free: 5.984 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.0013/0.0013, allocations: 187.7 kB / 20.02 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 227.9 MB, free: 4.355 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4647/0.4647, allocations: 43.52 MB / 320.8 MB, free: 9.102 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002489/0.00249, allocations: 71.89 kB / 450.1 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4378, allocations: 57.78 MB / 0.496 GB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00303/0.4408, allocations: 1.7 MB / 0.4976 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.4423, allocations: 0.7994 MB / 0.4984 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.4424, allocations: 1.281 kB / 0.4984 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.4428, allocations: 50.53 kB / 0.4985 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.4431, allocations: 53.89 kB / 0.4985 GB, free: 17.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.4434, allocations: 93.97 kB / 0.4986 GB, free: 17.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.4436, allocations: 89.02 kB / 0.4987 GB, free: 17.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.4437, allocations: 9.844 kB / 0.4987 GB, free: 17.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.4438, allocations: 48.03 kB / 0.4987 GB, free: 17.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.338e-05/0.4439, allocations: 32.88 kB / 0.4988 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.444, allocations: 3.344 kB / 0.4988 GB, free: 17.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.4441, allocations: 38.48 kB / 0.4988 GB, free: 17.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.758e-05/0.4442, allocations: 23.47 kB / 0.4988 GB, free: 17.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.4443, allocations: 35.41 kB / 0.4989 GB, free: 17.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.4445, allocations: 118.8 kB / 0.499 GB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.4445, allocations: 1.125 kB / 0.499 GB, free: 17.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4445, allocations: 0 / 0.499 GB, free: 17.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.4445, allocations: 0 / 0.499 GB, free: 17.13 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006014/0.4451, allocations: 415.6 kB / 0.4994 GB, free: 16.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.4452, allocations: 17.89 kB / 0.4994 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.4453, allocations: 30.75 kB / 0.4994 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.4453, allocations: 14.06 kB / 0.4994 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.4456, allocations: 211.2 kB / 0.4996 GB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.4457, allocations: 5.531 kB / 0.4996 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.4457, allocations: 6.531 kB / 0.4997 GB, free: 16.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.4459, allocations: 54.42 kB / 0.4997 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.4459, allocations: 0 / 0.4997 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.4459, allocations: 5.219 kB / 0.4997 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4459, allocations: 0 / 0.4997 GB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.152e-05/0.446, allocations: 18.95 kB / 0.4997 GB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.4464, allocations: 289.7 kB / 0.5 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.4466, allocations: 62.5 kB / 0.5001 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.016e-05/0.4467, allocations: 25.19 kB / 0.5001 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.4467, allocations: 0.9688 kB / 0.5001 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.4469, allocations: 72.91 kB / 0.5002 GB, free: 15.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4469, allocations: 0 / 0.5002 GB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006292/0.4476, allocations: 174 kB / 0.5003 GB, free: 15.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.4476, allocations: 52.56 kB / 0.5004 GB, free: 15.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.4478, allocations: 186.1 kB / 0.5006 GB, free: 15.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.4478, allocations: 26.83 kB / 0.5006 GB, free: 15.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.4479, allocations: 104.8 kB / 0.5007 GB, free: 15.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.4479, allocations: 19.28 kB / 0.5007 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.448, allocations: 28.59 kB / 0.5007 GB, free: 15.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.448, allocations: 322.3 kB / 0.501 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.4481, allocations: 23.92 kB / 0.5011 GB, free: 15.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.4482, allocations: 39.17 kB / 0.5011 GB, free: 15.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.4483, allocations: 54.42 kB / 0.5011 GB, free: 15.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4483, allocations: 5.375 kB / 0.5011 GB, free: 15.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001716/0.4485, allocations: 119.4 kB / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4485, allocations: 4.5 kB / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4485, allocations: 1.344 kB / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4485, allocations: 0 / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.109e-05/0.4486, allocations: 17.64 kB / 0.5013 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4486, allocations: 5.406 kB / 0.5013 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.4487, allocations: 5.719 kB / 0.5013 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4487, allocations: 3.312 kB / 0.5013 GB, free: 14.93 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 8.557e-05/0.4488, allocations: 134.2 kB / 0.5014 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.4488, allocations: 8.609 kB / 0.5014 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.4489, allocations: 13.34 kB / 0.5014 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4489, allocations: 5.281 kB / 0.5015 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4489, allocations: 0 / 0.5015 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4489, allocations: 5.375 kB / 0.5015 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.4493, allocations: 392.6 kB / 0.5018 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4493, allocations: 5.031 kB / 0.5018 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.4493, allocations: 7.562 kB / 0.5018 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4493, allocations: 9.062 kB / 0.5019 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4494, allocations: 0.9375 kB / 0.5019 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.4494, allocations: 1.125 kB / 0.5019 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4494, allocations: 1.062 kB / 0.5019 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.4496, allocations: 195.6 kB / 0.502 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.4496, allocations: 92.47 kB / 0.5021 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.4496, allocations: 9.375 kB / 0.5021 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.937e-05/0.4497, allocations: 6.719 kB / 0.5021 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.4498, allocations: 10.77 kB / 0.5022 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.4498, allocations: 4 kB / 0.5022 GB, free: 14.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.4499, allocations: 140.7 kB / 0.5023 GB, free: 13.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4499, allocations: 0 / 0.5023 GB, free: 13.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.4502, allocations: 29.42 kB / 0.5023 GB, free: 13.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002035/0.4522, allocations: 1.1 MB / 0.5034 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.4524, allocations: 70.38 kB / 0.5035 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4525, allocations: 0 / 0.5035 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.4526, allocations: 33.7 kB / 0.5035 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.453, allocations: 29.27 kB / 0.5035 GB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.4546, allocations: 1.628 MB / 0.5051 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.4548, allocations: 0.6998 MB / 0.5058 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.268e-05/0.4549, allocations: 14.34 kB / 0.5058 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.4549, allocations: 35.89 kB / 0.5058 GB, free: 10.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4549, allocations: 0 / 0.5058 GB, free: 10.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.4829, allocations: 3.374 MB / 0.5091 GB, free: 8.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.424, allocations: 1.094 kB / 0.5091 GB, free: 8.781 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.72269895602949]