Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001386, allocations: 101.4 kB / 16.26 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2191/0.2191, allocations: 43.52 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB 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.001616/0.001616, allocations: 70.81 kB / 382.8 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002899/0.107, allocations: 1.644 MB / 442.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1082, allocations: 0.7944 MB / 443.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1083, allocations: 4 kB / 443.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1087, allocations: 47.83 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.1089, allocations: 63.69 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1092, allocations: 79.75 kB / 443.3 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.1094, allocations: 91.7 kB / 443.4 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.784e-05/0.1094, allocations: 8.266 kB / 443.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.651e-05/0.1095, allocations: 35.86 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.1096, allocations: 27.8 kB / 443.4 MB, free: 4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1096, allocations: 4 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1097, allocations: 35.97 kB / 443.5 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.1098, allocations: 23.92 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.456e-05/0.1099, allocations: 39.62 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1101, allocations: 111.6 kB / 443.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1101, allocations: 4 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1101, allocations: 0 / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1101, allocations: 0 / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004508/0.1106, allocations: 438.6 kB / 444.1 MB, free: 3.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1106, allocations: 11.89 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.1106, allocations: 38.73 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.1107, allocations: 12.84 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.1108, allocations: 215.5 kB / 444.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1109, allocations: 384 / 444.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.1109, allocations: 19.86 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.111, allocations: 45.69 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.111, allocations: 0 / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.111, allocations: 0 / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1111, allocations: 4 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.173e-05/0.1111, allocations: 15.98 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000152/0.1113, allocations: 189.6 kB / 444.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.1114, allocations: 62.5 kB / 444.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.1115, allocations: 20.84 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1115, allocations: 7.922 kB / 444.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1117, allocations: 67.39 kB / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1117, allocations: 0 / 444.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002728/0.112, allocations: 93.58 kB / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.112, allocations: 63.34 kB / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1122, allocations: 255.7 kB / 445.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.1122, allocations: 25.7 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.1123, allocations: 112.1 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.1123, allocations: 15.73 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.1124, allocations: 21.72 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.1124, allocations: 326.8 kB / 445.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.1125, allocations: 15.98 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.118e-05/0.1126, allocations: 29.66 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.513e-05/0.1127, allocations: 45.7 kB / 445.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1127, allocations: 3.938 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000145/0.1128, allocations: 81.44 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1128, allocations: 11.98 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.1129, allocations: 0 / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1129, allocations: 4.031 kB / 445.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.113, allocations: 8 kB / 445.8 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.113, allocations: 4 kB / 445.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.113, allocations: 7.938 kB / 445.9 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1131, allocations: 4 kB / 445.9 MB, free: 1.301 MB / 318.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 (7): * Single equations (assignments): 7 * 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.0001007/0.1132, allocations: 137.1 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.1132, allocations: 19.8 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.1132, allocations: 17 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1132, allocations: 0 / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1133, allocations: 4 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1133, allocations: 0 / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.1134, allocations: 201.5 kB / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1134, allocations: 320 / 446.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.1134, allocations: 4 kB / 446.2 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1135, allocations: 4 kB / 446.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1135, allocations: 7.984 kB / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1135, allocations: 0 / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1135, allocations: 0 / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.1137, allocations: 116.8 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-05/0.1137, allocations: 89 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1137, allocations: 4 kB / 446.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.634e-05/0.1138, allocations: 0 / 446.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.1138, allocations: 11.98 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1139, allocations: 0 / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.114, allocations: 199.2 kB / 446.7 MB, free: 420 kB / 318.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.114, allocations: 0 / 446.7 MB, free: 420 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.1142, allocations: 16 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001376/0.1156, allocations: 0.9598 MB / 447.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.1158, allocations: 47.91 kB / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1158, allocations: 0 / 447.7 MB, free: 15.45 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.768e-05/0.1159, allocations: 24 kB / 447.7 MB, free: 15.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1162, allocations: 29.94 kB / 447.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.118, allocations: 1.639 MB / 449.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.1182, allocations: 0.7156 MB / 450.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.057e-05/0.1183, allocations: 16.53 kB / 450.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.1184, allocations: 39.42 kB / 450.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1184, allocations: 0 / 450.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.1404, allocations: 3.321 MB / 453.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.765, allocations: 11.69 kB / 453.5 MB, free: 9.527 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches