Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.001067/0.001067, allocations: 95.78 kB / 17.35 MB, free: 6.371 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.001162/0.001162, allocations: 181.2 kB / 18.26 MB, free: 5.523 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.312/1.312, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1812/0.1812, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.000285, allocations: 18.09 kB / 410.5 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1045, allocations: 61.91 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001895/0.1064, allocations: 1.417 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1084, allocations: 1.432 MB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.1085, allocations: 0 / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.1087, allocations: 27.91 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.1089, allocations: 59.77 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.1092, allocations: 94.2 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1094, allocations: 91.69 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1095, allocations: 12.22 kB / 475.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/0.1096, allocations: 39.78 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.1098, allocations: 35.78 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1098, allocations: 4 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.1099, allocations: 59.97 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.11, allocations: 19.91 kB / 475.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.1101, allocations: 49.52 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.1103, allocations: 120 kB / 475.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1103, allocations: 7.875 kB / 475.8 MB, free: 9.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1103, allocations: 3.938 kB / 475.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1103, allocations: 0 / 475.8 MB, free: 9.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005737/0.1109, allocations: 391.2 kB / 476.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1109, allocations: 8.031 kB / 476.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.111, allocations: 34.75 kB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.111, allocations: 8.844 kB / 476.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1113, allocations: 210.6 kB / 476.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1113, allocations: 384 / 476.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1113, allocations: 7.938 kB / 476.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1115, allocations: 71.33 kB / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1115, allocations: 0 / 476.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.1115, allocations: 4 kB / 476.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1115, allocations: 4 kB / 476.6 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.1116, allocations: 15.98 kB / 476.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.112, allocations: 284.8 kB / 476.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1122, allocations: 58.61 kB / 476.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.1122, allocations: 32.78 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.1123, allocations: 4 kB / 476.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.1125, allocations: 63.39 kB / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1125, allocations: 0 / 477 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005224/0.113, allocations: 177.2 kB / 477.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1131, allocations: 77.11 kB / 477.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.1132, allocations: 149.8 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1132, allocations: 33.7 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.1133, allocations: 96.12 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.1133, allocations: 27.64 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.1134, allocations: 21.7 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1135, allocations: 318.8 kB / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.42e-05/0.1136, allocations: 16 kB / 477.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.1136, allocations: 46.5 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.1138, allocations: 65.8 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1138, allocations: 0 / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.114, allocations: 97.53 kB / 478.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.114, allocations: 6.344 kB / 478.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.114, allocations: 3.984 kB / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.114, allocations: 192 / 478.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.1141, allocations: 20 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1141, allocations: 3.938 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.1142, allocations: 11.97 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1142, allocations: 0 / 478.1 MB, free: 7.176 MB / 350.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 8.931e-05/0.1143, allocations: 125.8 kB / 478.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.1143, allocations: 7.906 kB / 478.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.1143, allocations: 12.72 kB / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1143, allocations: 0 / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1143, allocations: 0 / 478.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.1144, allocations: 7.922 kB / 478.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.1148, allocations: 395.2 kB / 478.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1148, allocations: 0 / 478.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.1148, allocations: 8 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1148, allocations: 7.938 kB / 478.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1148, allocations: 7.984 kB / 478.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1148, allocations: 0 / 478.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1148, allocations: 7.938 kB / 478.7 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.1151, allocations: 200.2 kB / 478.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.1151, allocations: 89.02 kB / 479 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.1151, allocations: 11.92 kB / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.1152, allocations: 0 / 479 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1153, allocations: 11.98 kB / 479 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.1153, allocations: 7.984 kB / 479 MB, free: 6.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.328e-05/0.1154, allocations: 113.8 kB / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1154, allocations: 4 kB / 479.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.1157, allocations: 35.98 kB / 479.2 MB, free: 6.035 MB / 350.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.001497/0.1172, allocations: 1.129 MB / 480.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1173, allocations: 59.97 kB / 480.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1173, allocations: 4 kB / 480.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.1174, allocations: 31.92 kB / 480.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.1177, allocations: 19.98 kB / 480.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1192, allocations: 1.562 MB / 482 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002328/0.1195, allocations: 0.6965 MB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.261e-05/0.1195, allocations: 25.33 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.1196, allocations: 35.36 kB / 482.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1196, allocations: 0 / 482.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.1331, allocations: 3.088 MB / 485.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.1334, allocations: 238.2 kB / 486.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/1.856, allocations: 0 / 486.1 MB, free: 15.31 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches