Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.001162/0.001162, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001111/0.00111, allocations: 194 kB / 18.12 MB, free: 5.383 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 / 241.8 MB, free: 15.52 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.1746/0.1746, allocations: 44.18 MB / 336.1 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 58.97 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1015, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002508/0.104, allocations: 1.757 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1058, allocations: 1.452 MB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.1059, allocations: 0 / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.1061, allocations: 35.84 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.1063, allocations: 51.83 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.1065, allocations: 94.27 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.1066, allocations: 91.69 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.557e-05/0.1067, allocations: 12.23 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.403e-05/0.1068, allocations: 43.78 kB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1069, allocations: 31.84 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1069, allocations: 4 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.107, allocations: 59.95 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.1071, allocations: 19.86 kB / 472.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.1071, allocations: 27.81 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.1073, allocations: 123.9 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1073, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.31e-07/0.1073, allocations: 0 / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.835e-06/0.1073, allocations: 3.938 kB / 472.4 MB, free: 10.92 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.0004112/0.1078, allocations: 401.8 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.1078, allocations: 12.03 kB / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.1078, allocations: 34.73 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1079, allocations: 8.844 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.108, allocations: 212 kB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1081, allocations: 4.375 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.1081, allocations: 7.922 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1082, allocations: 71.39 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.1082, allocations: 4 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.1082, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1083, allocations: 0 / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.1083, allocations: 19.98 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002634/0.1086, allocations: 284.8 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.1087, allocations: 62.61 kB / 473.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.1088, allocations: 20.86 kB / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.1088, allocations: 0 / 473.5 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.109, allocations: 75.31 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.109, allocations: 0 / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004355/0.1094, allocations: 173.2 kB / 473.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1095, allocations: 85.11 kB / 473.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1096, allocations: 153.8 kB / 474 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1096, allocations: 29.7 kB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.1097, allocations: 100.1 kB / 474.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.1097, allocations: 23.66 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.1097, allocations: 25.7 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.1098, allocations: 314.8 kB / 474.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.1099, allocations: 23.98 kB / 474.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.11, allocations: 46.56 kB / 474.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.1101, allocations: 61.64 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1101, allocations: 0 / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001663/0.1103, allocations: 93.66 kB / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1103, allocations: 8 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.1103, allocations: 0 / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.1103, allocations: 4.062 kB / 474.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.1104, allocations: 19.92 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.1104, allocations: 4.188 kB / 474.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.1105, allocations: 7.938 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.1105, allocations: 7.938 kB / 474.8 MB, free: 8.312 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 7.643e-05/0.1106, allocations: 117.8 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1106, allocations: 11.91 kB / 474.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.1106, allocations: 12.72 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1106, allocations: 0 / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1106, allocations: 4 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1106, allocations: 7.922 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.111, allocations: 387.3 kB / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.111, allocations: 0 / 475.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.1111, allocations: 8 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1111, allocations: 3.938 kB / 475.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1111, allocations: 4 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1111, allocations: 11.86 kB / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1111, allocations: 4.031 kB / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1113, allocations: 204.2 kB / 475.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.1114, allocations: 85.02 kB / 475.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.1114, allocations: 4.312 kB / 475.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.1115, allocations: 8 kB / 475.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.1115, allocations: 7.984 kB / 475.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1115, allocations: 8 kB / 475.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.125e-05/0.1116, allocations: 122 kB / 475.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1116, allocations: 0 / 475.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.1119, allocations: 31.98 kB / 475.8 MB, free: 7.184 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.001303/0.1132, allocations: 1.134 MB / 476.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.1133, allocations: 63.89 kB / 477 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1134, allocations: 0 / 477 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.722e-05/0.1134, allocations: 27.98 kB / 477 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.1137, allocations: 27.92 kB / 477 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1151, allocations: 1.553 MB / 478.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1153, allocations: 0.6965 MB / 479.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.817e-05/0.1154, allocations: 29.27 kB / 479.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.1155, allocations: 31.42 kB / 479.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1155, allocations: 0 / 479.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.096/2.211, allocations: 3.303 MB / 482.7 MB, free: 496 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004028/2.212, allocations: 242.5 kB / 482.9 MB, free: 236 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/3.995, allocations: 3.938 kB / 482.9 MB, free: 232 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches