Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88",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.001562/0.001562, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001786/0.001786, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1983/0.1983, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 69.33 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09402, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003439/0.09749, allocations: 2.233 MB / 471.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.09946, allocations: 1.189 MB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.09966, allocations: 7.938 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.1, allocations: 123.3 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.1005, allocations: 175.2 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007301/0.1012, allocations: 321.2 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.1017, allocations: 418.8 kB / 473.8 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1018, allocations: 60.98 kB / 473.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.1022, allocations: 259.2 kB / 474.1 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1023, allocations: 151.2 kB / 474.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.1024, allocations: 16 kB / 474.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.1026, allocations: 63.98 kB / 474.3 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1027, allocations: 127.5 kB / 474.5 MB, free: 9.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1028, allocations: 182.6 kB / 474.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.1033, allocations: 418.3 kB / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1033, allocations: 0 / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1033, allocations: 0 / 475.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1033, allocations: 3.984 kB / 475.1 MB, free: 8.52 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009807/0.1043, allocations: 0.7934 MB / 475.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1043, allocations: 8.031 kB / 475.9 MB, free: 7.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.1044, allocations: 46.73 kB / 475.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/0.1045, allocations: 60.28 kB / 476 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.1049, allocations: 403.7 kB / 476.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1049, allocations: 8.375 kB / 476.4 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.105, allocations: 23.92 kB / 476.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.1053, allocations: 185 kB / 476.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1053, allocations: 7.906 kB / 476.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1054, allocations: 11.98 kB / 476.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.1054, allocations: 4 kB / 476.6 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.1056, allocations: 99.8 kB / 476.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.1064, allocations: 0.7937 MB / 477.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.107, allocations: 250.5 kB / 477.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.1072, allocations: 87.52 kB / 477.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1073, allocations: 4 kB / 477.8 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.1077, allocations: 206.3 kB / 478 MB, free: 5.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/0.1077, allocations: 0 / 478 MB, free: 5.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002432/0.1101, allocations: 1.087 MB / 479.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.1102, allocations: 136.5 kB / 479.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/0.111, allocations: 0.7529 MB / 480 MB, free: 3.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.111, allocations: 37.7 kB / 480 MB, free: 3.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.1112, allocations: 236.9 kB / 480.3 MB, free: 3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1113, allocations: 142.1 kB / 480.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1114, allocations: 82.06 kB / 480.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1116, allocations: 374.8 kB / 480.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.1119, allocations: 108.8 kB / 481 MB, free: 2.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.1121, allocations: 191 kB / 481.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005102/0.1127, allocations: 318.7 kB / 481.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1127, allocations: 4 kB / 481.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007443/0.1134, allocations: 428.5 kB / 481.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1135, allocations: 11.98 kB / 481.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1135, allocations: 0 / 481.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1135, allocations: 4 kB / 481.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.1139, allocations: 91.91 kB / 482 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1139, allocations: 3.938 kB / 482 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.114, allocations: 24.11 kB / 482 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.1141, allocations: 20 kB / 482 MB, free: 1.164 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002268/0.1143, allocations: 231.8 kB / 482.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/0.1144, allocations: 67.14 kB / 482.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1145, allocations: 77.44 kB / 482.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1145, allocations: 4 kB / 482.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.1145, allocations: 3.938 kB / 482.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.1146, allocations: 11.97 kB / 482.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.1162, allocations: 1.295 MB / 483.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.1162, allocations: 4.094 kB / 483.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1163, allocations: 63.84 kB / 483.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.1164, allocations: 4 kB / 483.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.1164, allocations: 16 kB / 483.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/0.1164, allocations: 11.92 kB / 483.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1164, allocations: 7.938 kB / 483.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/0.1172, allocations: 0.7737 MB / 484.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.1174, allocations: 164.3 kB / 484.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.1175, allocations: 16 kB / 484.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.1177, allocations: 15.98 kB / 484.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.1178, allocations: 47.83 kB / 484.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.1179, allocations: 27.98 kB / 484.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005347/0.1184, allocations: 0.5418 MB / 485.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1184, allocations: 0 / 485.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000522/0.119, allocations: 83.98 kB / 485.5 MB, free: 13.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002124/0.1211, allocations: 1.756 MB / 487.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006503/0.1218, allocations: 331.6 kB / 487.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1218, allocations: 3.938 kB / 487.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.1221, allocations: 160.1 kB / 487.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009377/0.123, allocations: 127.7 kB / 487.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/0.1285, allocations: 4.767 MB / 492.6 MB, free: 6.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.129, allocations: 0.8743 MB / 493.5 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.1293, allocations: 87.23 kB / 493.6 MB, free: 5.406 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.1295, allocations: 183.4 kB / 493.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1295, allocations: 0 / 493.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02694/0.1565, allocations: 10.38 MB / 0.4923 GB, free: 10.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.505, allocations: 13.06 kB / 0.4923 GB, free: 10.98 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches