Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.001434/0.001434, allocations: 103.5 kB / 16.27 MB, free: 5.977 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.001119/0.001119, allocations: 192.1 kB / 17.2 MB, free: 5.609 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.481/1.481, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2295/0.2295, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.00158/0.00158, allocations: 69.39 kB / 382.8 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09829, allocations: 57.8 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003755/0.1021, allocations: 1.991 MB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.1038, allocations: 0.8934 MB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.1041, allocations: 4 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004029/0.1045, allocations: 51.62 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.105, allocations: 71.56 kB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.1054, allocations: 115.7 kB / 443.8 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.1057, allocations: 203.4 kB / 444 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001432/0.1059, allocations: 33.59 kB / 444 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.106, allocations: 87.58 kB / 444.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1062, allocations: 71.67 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.1062, allocations: 16 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1064, allocations: 47.98 kB / 444.2 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.63e-05/0.1064, allocations: 39.83 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.724e-05/0.1065, allocations: 67.55 kB / 444.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.1069, allocations: 199.3 kB / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1069, allocations: 0 / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1069, allocations: 0 / 444.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.1069, allocations: 0 / 444.5 MB, free: 2.895 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009479/0.1078, allocations: 0.5527 MB / 445.1 MB, free: 2.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1079, allocations: 11.89 kB / 445.1 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.1079, allocations: 38.75 kB / 445.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.881e-05/0.108, allocations: 20.73 kB / 445.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.1083, allocations: 248.7 kB / 445.4 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1083, allocations: 4.375 kB / 445.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.1083, allocations: 15.94 kB / 445.4 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/0.1087, allocations: 152.1 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1088, allocations: 0 / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1088, allocations: 4 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1088, allocations: 4 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.1092, allocations: 119.4 kB / 445.7 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.1098, allocations: 0.5399 MB / 446.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.1105, allocations: 162.5 kB / 446.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.1107, allocations: 76.73 kB / 446.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1108, allocations: 8 kB / 446.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004313/0.1112, allocations: 131.2 kB / 446.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1112, allocations: 0 / 446.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000825/0.112, allocations: 269.1 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.1121, allocations: 55.41 kB / 446.9 MB, free: 296 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1123, allocations: 215.2 kB / 447.1 MB, free: 68 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1123, allocations: 33.7 kB / 447.1 MB, free: 28 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1124, allocations: 132.3 kB / 447.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.1124, allocations: 31.55 kB / 447.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.1125, allocations: 41.7 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1127, allocations: 334.8 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.113, allocations: 67.84 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.1132, allocations: 110.2 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.1138, allocations: 193.6 kB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1138, allocations: 4 kB / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006776/0.1145, allocations: 247 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.1146, allocations: 33.7 kB / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1146, allocations: 128 / 448.3 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1146, allocations: 11.94 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.1148, allocations: 39.89 kB / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1148, allocations: 0 / 448.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.115, allocations: 27.89 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.115, allocations: 7.984 kB / 448.4 MB, free: 14.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000131/0.1152, allocations: 137.8 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.1152, allocations: 15.81 kB / 448.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.1153, allocations: 29.39 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1153, allocations: 3.938 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1153, allocations: 0 / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1153, allocations: 3.938 kB / 448.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1155, allocations: 233.5 kB / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1155, allocations: 0 / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.1157, allocations: 23.97 kB / 448.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1157, allocations: 0 / 448.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.1157, allocations: 8 kB / 448.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1157, allocations: 7.938 kB / 448.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1157, allocations: 0 / 448.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008904/0.1166, allocations: 309 kB / 449.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.1167, allocations: 88.95 kB / 449.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1167, allocations: 8 kB / 449.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1169, allocations: 23.91 kB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.117, allocations: 27.84 kB / 449.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.117, allocations: 4 kB / 449.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1172, allocations: 168.6 kB / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1172, allocations: 0 / 449.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1175, allocations: 36 kB / 449.5 MB, free: 13.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002211/0.1197, allocations: 1.135 MB / 450.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.1204, allocations: 227.1 kB / 450.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1204, allocations: 3.938 kB / 450.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.1207, allocations: 84.12 kB / 450.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.121, allocations: 51.19 kB / 451 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.1247, allocations: 2.144 MB / 453.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1251, allocations: 0.7317 MB / 453.9 MB, free: 9.055 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.1252, allocations: 29.52 kB / 453.9 MB, free: 9.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1253, allocations: 59.41 kB / 453.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1253, allocations: 0 / 453.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.1492, allocations: 4.842 MB / 458.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/8.157, allocations: 8 kB / 458.8 MB, free: 4.09 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches