Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.001452/0.001452, allocations: 107.1 kB / 16.27 MB, free: 6.41 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.001339/0.001339, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.569/1.569, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2265/0.2265, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.001446/0.001446, allocations: 69.59 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1116, allocations: 57.79 MB / 440.6 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002648/0.1143, allocations: 1.689 MB / 442.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.1153, allocations: 0.8 MB / 443.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.1154, allocations: 7.938 kB / 443.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.1157, allocations: 47.81 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1159, allocations: 59.69 kB / 443.2 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.1161, allocations: 83.77 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1162, allocations: 91.7 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1163, allocations: 20.16 kB / 443.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.1164, allocations: 43.78 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.1165, allocations: 27.86 kB / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.1165, allocations: 0 / 443.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.1166, allocations: 43.97 kB / 443.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.825e-05/0.1167, allocations: 23.86 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.911e-05/0.1167, allocations: 31.75 kB / 443.6 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1169, allocations: 127.6 kB / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1169, allocations: 0 / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1169, allocations: 4 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1169, allocations: 0 / 443.7 MB, free: 3.656 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004166/0.1173, allocations: 422.8 kB / 444.1 MB, free: 3.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1174, allocations: 15.89 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.026e-05/0.1174, allocations: 30.75 kB / 444.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1175, allocations: 12.84 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1176, allocations: 223.9 kB / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1176, allocations: 384 / 444.4 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1177, allocations: 11.94 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1178, allocations: 53.67 kB / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1178, allocations: 0 / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.1178, allocations: 0 / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1178, allocations: 0 / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.367e-05/0.1179, allocations: 23.92 kB / 444.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.1182, allocations: 288.9 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1183, allocations: 62.59 kB / 444.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.1184, allocations: 24.84 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1184, allocations: 0 / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001483/0.1185, allocations: 63.39 kB / 444.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1186, allocations: 0 / 444.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000446/0.119, allocations: 189.1 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.119, allocations: 51.41 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1192, allocations: 230.6 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.709e-06/0.1192, allocations: 29.7 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.1192, allocations: 104.1 kB / 445.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1193, allocations: 23.64 kB / 445.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.1193, allocations: 29.66 kB / 445.6 MB, free: 1.586 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.1194, allocations: 326.8 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.827e-05/0.1194, allocations: 20 kB / 445.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-05/0.1195, allocations: 37.7 kB / 445.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.769e-05/0.1196, allocations: 57.7 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1196, allocations: 0 / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001451/0.1197, allocations: 101.4 kB / 446.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1197, allocations: 4 kB / 446.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1197, allocations: 4.406 kB / 446.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1198, allocations: 4 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.1198, allocations: 15.98 kB / 446.1 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1199, allocations: 3.938 kB / 446.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.161e-05/0.1199, allocations: 11.94 kB / 446.1 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1199, allocations: 4 kB / 446.2 MB, free: 0.9805 MB / 318.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.194e-05/0.12, allocations: 137 kB / 446.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.923e-05/0.12, allocations: 15.75 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.1201, allocations: 29.39 kB / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1201, allocations: 0 / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1201, allocations: 0 / 446.3 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1201, allocations: 3.938 kB / 446.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.1204, allocations: 391.3 kB / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1204, allocations: 7.984 kB / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.1204, allocations: 4 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1204, allocations: 8.125 kB / 446.7 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.1205, allocations: 4.031 kB / 446.7 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1205, allocations: 3.938 kB / 446.7 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1205, allocations: 4 kB / 446.7 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.1206, allocations: 204.2 kB / 446.9 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.1207, allocations: 93.08 kB / 447 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.1207, allocations: 3.938 kB / 447 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.756e-05/0.1208, allocations: 4 kB / 447 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.1208, allocations: 11.98 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1209, allocations: 4 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.121, allocations: 167.2 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.121, allocations: 0 / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1213, allocations: 27.98 kB / 447.2 MB, free: 15.77 MB / 334.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.001367/0.1226, allocations: 1.099 MB / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1228, allocations: 71.91 kB / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1228, allocations: 0 / 448.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.1229, allocations: 24 kB / 448.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1232, allocations: 30 kB / 448.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.1249, allocations: 1.718 MB / 450.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.1251, allocations: 0.7155 MB / 450.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.084e-05/0.1252, allocations: 25.12 kB / 450.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.1253, allocations: 39.42 kB / 451 MB, free: 12.01 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.1253, allocations: 0 / 451 MB, free: 12.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/0.1827, allocations: 3.469 MB / 454.4 MB, free: 8.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/7.951, allocations: 3.938 kB / 454.4 MB, free: 8.516 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches