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.001042/0.001042, allocations: 106.9 kB / 17.33 MB, free: 5.996 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.000986/0.000986, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.294/1.294, allocations: 222.9 MB / 241.9 MB, free: 15.36 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.1916/0.1916, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 66.08 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08985/0.09111, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003177/0.09431, allocations: 2.27 MB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.09612, allocations: 1.185 MB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.09626, allocations: 7.938 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.0966, allocations: 103.6 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00035/0.09698, allocations: 167.3 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.09761, allocations: 285.8 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.09803, allocations: 422.8 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.09818, allocations: 57 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.09852, allocations: 267 kB / 473.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.0987, allocations: 155.2 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.09875, allocations: 19.98 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.09888, allocations: 67.98 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.099, allocations: 127.5 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.09916, allocations: 182.6 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.09964, allocations: 414.3 kB / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.09966, allocations: 0 / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09967, allocations: 0 / 474.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.09968, allocations: 0 / 474.5 MB, free: 8.91 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.0009462/0.1006, allocations: 0.8011 MB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1007, allocations: 12.03 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.1007, allocations: 46.73 kB / 475.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.1008, allocations: 56.28 kB / 475.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.1012, allocations: 407.7 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1012, allocations: 8.375 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.1013, allocations: 23.92 kB / 475.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.1016, allocations: 189.5 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1017, allocations: 3.906 kB / 476 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1017, allocations: 11.98 kB / 476.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1017, allocations: 4 kB / 476.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.1019, allocations: 95.81 kB / 476.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008104/0.1028, allocations: 0.7977 MB / 477 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.1034, allocations: 246.5 kB / 477.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1036, allocations: 91.52 kB / 477.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1036, allocations: 4 kB / 477.3 MB, free: 5.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.104, allocations: 200.3 kB / 477.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.104, allocations: 0 / 477.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002324/0.1063, allocations: 1.094 MB / 478.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1064, allocations: 136.5 kB / 478.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.1071, allocations: 0.7489 MB / 479.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.1072, allocations: 41.64 kB / 479.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1073, allocations: 240.9 kB / 479.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1074, allocations: 138.1 kB / 479.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-05/0.1075, allocations: 82.12 kB / 480 MB, free: 3.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1077, allocations: 374.8 kB / 480.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.1079, allocations: 108.8 kB / 480.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.1082, allocations: 191 kB / 480.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.1087, allocations: 315.1 kB / 480.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1087, allocations: 0 / 480.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007027/0.1094, allocations: 440.6 kB / 481.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1094, allocations: 7.984 kB / 481.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1094, allocations: 4 kB / 481.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1095, allocations: 4 kB / 481.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.1097, allocations: 79.91 kB / 481.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1098, allocations: 9.109 kB / 481.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1099, allocations: 24.11 kB / 481.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.1099, allocations: 16 kB / 481.5 MB, free: 1.551 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.0002287/0.1102, allocations: 235.8 kB / 481.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.1103, allocations: 67.14 kB / 481.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.1104, allocations: 72.5 kB / 481.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1104, allocations: 8 kB / 481.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.1104, allocations: 3.938 kB / 481.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1105, allocations: 3.984 kB / 481.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.112, allocations: 1.303 MB / 483.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.112, allocations: 0 / 483.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1122, allocations: 63.91 kB / 483.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.1122, allocations: 7.938 kB / 483.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.1122, allocations: 16 kB / 483.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1122, allocations: 7.984 kB / 483.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1123, allocations: 7.922 kB / 483.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/0.1131, allocations: 0.7776 MB / 484.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.1132, allocations: 168.3 kB / 484.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.1133, allocations: 8 kB / 484.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.1136, allocations: 23.98 kB / 484.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.1137, allocations: 47.83 kB / 484.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.1137, allocations: 23.98 kB / 484.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005456/0.1143, allocations: 0.5457 MB / 484.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1143, allocations: 0 / 484.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005157/0.1148, allocations: 83.98 kB / 484.9 MB, free: 13.94 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.002123/0.1169, allocations: 1.751 MB / 486.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006043/0.1176, allocations: 335.6 kB / 487 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1176, allocations: 0 / 487 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.1179, allocations: 163.7 kB / 487.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.1188, allocations: 128.7 kB / 487.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/0.1244, allocations: 4.895 MB / 492.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.1249, allocations: 0.8782 MB / 493.1 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.1251, allocations: 79.25 kB / 493.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.1253, allocations: 184.1 kB / 493.3 MB, free: 5.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1253, allocations: 0 / 493.3 MB, free: 5.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.1533, allocations: 10.24 MB / 0.4918 GB, free: 11.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.1535, allocations: 234.8 kB / 0.492 GB, free: 11.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.225, allocations: 0 / 0.492 GB, free: 11.15 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