Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001569/0.001569, allocations: 111.4 kB / 19.69 MB, free: 2.047 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.001948/0.001948, allocations: 226.4 kB / 23.01 MB, free: 4.934 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.423/1.423, allocations: 207.6 MB / 233.8 MB, free: 9.98 MB / 190.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.2197/0.2197, allocations: 44.25 MB / 330.3 MB, free: 9.516 MB / 270.1 MB " [Timeout remaining time 180] 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.002179/0.002179, allocations: 72.47 kB / 467.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1183, allocations: 61.05 MB / 0.5162 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003203/0.1215, allocations: 1.715 MB / 0.5179 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1229, allocations: 0.8313 MB / 0.5187 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.514e-05/0.123, allocations: 7.875 kB / 0.5187 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.1233, allocations: 83.77 kB / 0.5188 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.1236, allocations: 75.66 kB / 0.5189 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.1238, allocations: 91.77 kB / 0.5189 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.124, allocations: 111.7 kB / 0.519 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.1241, allocations: 8.219 kB / 0.5191 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1242, allocations: 51.78 kB / 0.5191 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1243, allocations: 67.75 kB / 0.5192 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1243, allocations: 4 kB / 0.5192 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.1244, allocations: 43.97 kB / 0.5192 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.1245, allocations: 23.86 kB / 0.5192 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.1245, allocations: 35.73 kB / 0.5193 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1247, allocations: 111.6 kB / 0.5194 GB, free: 4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1247, allocations: 0 / 0.5194 GB, free: 4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1247, allocations: 0 / 0.5194 GB, free: 4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1247, allocations: 0 / 0.5194 GB, free: 4 MB / 398.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.0005197/0.1252, allocations: 353.5 kB / 0.5197 GB, free: 3.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.1253, allocations: 12.03 kB / 0.5197 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.1253, allocations: 34.75 kB / 0.5198 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.1254, allocations: 16.78 kB / 0.5198 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.1256, allocations: 147.3 kB / 0.5199 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1256, allocations: 8.375 kB / 0.5199 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.1256, allocations: 3.938 kB / 0.5199 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1258, allocations: 53.67 kB / 0.52 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1258, allocations: 0 / 0.52 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1258, allocations: 11.98 kB / 0.52 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1258, allocations: 0 / 0.52 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.1259, allocations: 19.92 kB / 0.52 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.1263, allocations: 267.9 kB / 0.5203 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1264, allocations: 50.69 kB / 0.5203 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.1265, allocations: 24.84 kB / 0.5203 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1265, allocations: 4 kB / 0.5203 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.1267, allocations: 67.33 kB / 0.5204 GB, free: 2.812 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1267, allocations: 0 / 0.5204 GB, free: 2.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005262/0.1272, allocations: 173.3 kB / 0.5206 GB, free: 2.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.1272, allocations: 59.39 kB / 0.5206 GB, free: 2.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1275, allocations: 218.2 kB / 0.5208 GB, free: 2.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1275, allocations: 25.7 kB / 0.5209 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.72e-05/0.1275, allocations: 108.1 kB / 0.521 GB, free: 2.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1276, allocations: 27.78 kB / 0.521 GB, free: 2.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.1276, allocations: 17.72 kB / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1277, allocations: 326.8 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.502e-05/0.1278, allocations: 23.92 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.711e-05/0.1279, allocations: 37.7 kB / 0.5214 GB, free: 1.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.128, allocations: 65.64 kB / 0.5214 GB, free: 1.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.128, allocations: 0 / 0.5214 GB, free: 1.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.1282, allocations: 105.6 kB / 0.5215 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1282, allocations: 8 kB / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1282, allocations: 0 / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1282, allocations: 0 / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.1283, allocations: 19.98 kB / 0.5216 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1283, allocations: 4.031 kB / 0.5216 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/0.1283, allocations: 3.938 kB / 0.5216 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-06/0.1284, allocations: 7.938 kB / 0.5216 GB, free: 1.535 MB / 398.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 0.0001155/0.1285, allocations: 129.8 kB / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.1285, allocations: 7.953 kB / 0.5217 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1287, allocations: 122.9 kB / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1287, allocations: 0 / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1287, allocations: 0 / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1287, allocations: 7.938 kB / 0.5218 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.1292, allocations: 362.4 kB / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1292, allocations: 0 / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.1292, allocations: 12.38 kB / 0.5222 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.1292, allocations: 11.92 kB / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1293, allocations: 0 / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1293, allocations: 4 kB / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1293, allocations: 0 / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1295, allocations: 212.2 kB / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.1295, allocations: 7.953 kB / 0.5224 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1295, allocations: 7.938 kB / 0.5224 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.1296, allocations: 3.984 kB / 0.5224 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.1297, allocations: 8 kB / 0.5224 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1297, allocations: 4 kB / 0.5224 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1298, allocations: 164.2 kB / 0.5226 GB, free: 408 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1298, allocations: 0 / 0.5226 GB, free: 408 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1301, allocations: 23.94 kB / 0.5226 GB, free: 384 kB / 398.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.002192/0.1323, allocations: 1.094 MB / 0.5237 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1325, allocations: 55.91 kB / 0.5237 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1325, allocations: 0 / 0.5237 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.1325, allocations: 27.98 kB / 0.5238 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1329, allocations: 35.98 kB / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.1348, allocations: 1.681 MB / 0.5254 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.1353, allocations: 0.708 MB / 0.5261 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.45e-05/0.1354, allocations: 24.88 kB / 0.5262 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.1354, allocations: 35.42 kB / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1354, allocations: 0 / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.1647, allocations: 3.661 MB / 0.5298 GB, free: 8.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.06, allocations: 7.906 kB / 0.5298 GB, free: 8.863 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.246975272995769]