Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001285/0.001285, allocations: 115 kB / 17.13 MB, free: 5.914 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.001417/0.001417, allocations: 211.2 kB / 20.1 MB, free: 2.961 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.737/1.737, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.4347/0.4347, allocations: 44.23 MB / 326.6 MB, free: 6.828 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.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(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 79.88 kB / 462.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3661, allocations: 61 MB / 0.511 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003863/0.3699, allocations: 1.713 MB / 0.5127 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3713, allocations: 0.8098 MB / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.3714, allocations: 0 / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.3718, allocations: 87.97 kB / 0.5136 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.372, allocations: 79.78 kB / 0.5136 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.3723, allocations: 87.64 kB / 0.5137 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3724, allocations: 112 kB / 0.5138 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3726, allocations: 12.48 kB / 0.5138 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3727, allocations: 50.44 kB / 0.5139 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.3728, allocations: 65.11 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.3728, allocations: 3.312 kB / 0.514 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3729, allocations: 42.98 kB / 0.514 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.373, allocations: 32.56 kB / 0.514 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.373, allocations: 32.09 kB / 0.5141 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.3732, allocations: 112.4 kB / 0.5142 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3732, allocations: 5.141 kB / 0.5142 GB, free: 10.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3733, allocations: 4 kB / 0.5142 GB, free: 10.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.3733, allocations: 0 / 0.5142 GB, free: 10.76 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.0005186/0.3738, allocations: 425.3 kB / 0.5146 GB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3738, allocations: 18.8 kB / 0.5146 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.3739, allocations: 34.75 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.3739, allocations: 15.38 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.3741, allocations: 211.6 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3742, allocations: 2.156 kB / 0.5149 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.3742, allocations: 13.94 kB / 0.5149 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.3743, allocations: 49.39 kB / 0.5149 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3743, allocations: 0 / 0.5149 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3744, allocations: 5.906 kB / 0.5149 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3744, allocations: 0 / 0.5149 GB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.3744, allocations: 17.95 kB / 0.5149 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.3748, allocations: 296.2 kB / 0.5152 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.375, allocations: 55.58 kB / 0.5153 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.375, allocations: 17.92 kB / 0.5153 GB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.375, allocations: 3.984 kB / 0.5153 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001489/0.3752, allocations: 69.48 kB / 0.5154 GB, free: 9.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3752, allocations: 0 / 0.5154 GB, free: 9.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005576/0.3757, allocations: 179.3 kB / 0.5155 GB, free: 9.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3758, allocations: 61.17 kB / 0.5156 GB, free: 9.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.376, allocations: 216 kB / 0.5158 GB, free: 9.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.376, allocations: 27.08 kB / 0.5158 GB, free: 9.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.376, allocations: 105.6 kB / 0.5159 GB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.3761, allocations: 18.61 kB / 0.5159 GB, free: 9.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.3761, allocations: 24.58 kB / 0.516 GB, free: 9.027 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.3762, allocations: 331 kB / 0.5163 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.712e-05/0.3762, allocations: 18.98 kB / 0.5163 GB, free: 8.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.3763, allocations: 31.47 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.3764, allocations: 67.75 kB / 0.5164 GB, free: 8.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3764, allocations: 0 / 0.5164 GB, free: 8.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001797/0.3766, allocations: 104.1 kB / 0.5165 GB, free: 8.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3766, allocations: 9.531 kB / 0.5165 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3766, allocations: 0 / 0.5165 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3766, allocations: 1.375 kB / 0.5165 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.3767, allocations: 20.31 kB / 0.5165 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3767, allocations: 1.375 kB / 0.5165 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.3768, allocations: 10.67 kB / 0.5165 GB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3768, allocations: 2.938 kB / 0.5165 GB, free: 8.535 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 9.084e-05/0.3769, allocations: 124.8 kB / 0.5167 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3769, allocations: 17.38 kB / 0.5167 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.377, allocations: 18.91 kB / 0.5167 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.377, allocations: 1.375 kB / 0.5167 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.377, allocations: 0 / 0.5167 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.377, allocations: 5.312 kB / 0.5167 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.3774, allocations: 402.5 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3774, allocations: 1.375 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.3774, allocations: 7.25 kB / 0.5171 GB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3774, allocations: 9.297 kB / 0.5171 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.3774, allocations: 5.406 kB / 0.5171 GB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.3774, allocations: 5.375 kB / 0.5171 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3774, allocations: 3.938 kB / 0.5171 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.3776, allocations: 197.7 kB / 0.5173 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.3777, allocations: 91.75 kB / 0.5174 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3777, allocations: 5.312 kB / 0.5174 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.3778, allocations: 6.75 kB / 0.5174 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3778, allocations: 10.73 kB / 0.5174 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3778, allocations: 4.125 kB / 0.5174 GB, free: 7.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.378, allocations: 155.2 kB / 0.5176 GB, free: 7.574 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.378, allocations: 0 / 0.5176 GB, free: 7.574 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.3782, allocations: 21.47 kB / 0.5176 GB, free: 7.57 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.002091/0.3803, allocations: 1.112 MB / 0.5187 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3805, allocations: 55.39 kB / 0.5187 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3805, allocations: 1.406 kB / 0.5187 GB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.998e-05/0.3806, allocations: 27.2 kB / 0.5187 GB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3809, allocations: 36.25 kB / 0.5188 GB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.3825, allocations: 1.687 MB / 0.5204 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.3826, allocations: 0.7119 MB / 0.5211 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.545e-05/0.3826, allocations: 20.78 kB / 0.5211 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.3827, allocations: 35.42 kB / 0.5212 GB, free: 4.082 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3827, allocations: 0 / 0.5212 GB, free: 4.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.4087, allocations: 3.509 MB / 0.5246 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.294, allocations: 6.828 kB / 0.5246 GB, free: 0.5039 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000699161 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.715150164003717]