Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.0009151/0.0009152, allocations: 93.33 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.001153/0.001153, allocations: 179.4 kB / 18.26 MB, free: 5.52 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.3/1.3, allocations: 223.3 MB / 242.3 MB, free: 204 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.1916/0.1916, allocations: 44.24 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002897/0.0002898, allocations: 12.98 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.104, allocations: 61.93 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001886/0.1059, allocations: 1.413 MB / 473.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1072, allocations: 0.846 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.1073, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1076, allocations: 55.86 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1078, allocations: 55.75 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1081, allocations: 95.33 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1083, allocations: 95.69 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.281e-05/0.1084, allocations: 12.22 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.1085, allocations: 35.8 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.1086, allocations: 39.77 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1086, allocations: 4 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.1087, allocations: 43.98 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.1088, allocations: 23.92 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.1088, allocations: 61.39 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.109, allocations: 127.8 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.109, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.109, allocations: 0 / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.109, allocations: 7.875 kB / 475.3 MB, free: 10.31 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.0004981/0.1095, allocations: 426.8 kB / 475.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1096, allocations: 8.031 kB / 475.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.1096, allocations: 38.75 kB / 475.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.1097, allocations: 12.84 kB / 475.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.1099, allocations: 211.9 kB / 476 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1099, allocations: 8.375 kB / 476 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1099, allocations: 3.938 kB / 476 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1101, allocations: 61.61 kB / 476 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1101, allocations: 4 kB / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.1101, allocations: 0 / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1101, allocations: 0 / 476 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.955e-05/0.1102, allocations: 19.98 kB / 476.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.1105, allocations: 300.9 kB / 476.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1107, allocations: 58.62 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.1108, allocations: 20.84 kB / 476.4 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1108, allocations: 4 kB / 476.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.111, allocations: 67.39 kB / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.111, allocations: 0 / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004862/0.1115, allocations: 185 kB / 476.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1115, allocations: 51.41 kB / 476.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1117, allocations: 266.9 kB / 477 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1118, allocations: 25.7 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.1118, allocations: 124 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1119, allocations: 19.7 kB / 477.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.1119, allocations: 17.72 kB / 477.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.112, allocations: 326.8 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.445e-05/0.1121, allocations: 19.98 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.1121, allocations: 41.58 kB / 477.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1122, allocations: 57.72 kB / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1123, allocations: 0 / 477.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001879/0.1124, allocations: 105.5 kB / 477.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1125, allocations: 4 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1125, allocations: 4 kB / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1125, allocations: 0 / 477.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.1126, allocations: 19.98 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1126, allocations: 192 / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.1127, allocations: 15.86 kB / 477.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-06/0.1127, allocations: 7.969 kB / 477.8 MB, free: 7.578 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 0.0001027/0.1128, allocations: 137.8 kB / 477.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.1128, allocations: 15.75 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.1129, allocations: 21.55 kB / 477.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1129, allocations: 4 kB / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1129, allocations: 0 / 477.9 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1129, allocations: 3.938 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.1133, allocations: 415.2 kB / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1133, allocations: 0 / 478.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-05/0.1134, allocations: 8.375 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1134, allocations: 3.938 kB / 478.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1134, allocations: 4 kB / 478.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1134, allocations: 4 kB / 478.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1134, allocations: 0 / 478.4 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.1136, allocations: 208.2 kB / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.1137, allocations: 85.02 kB / 478.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.1137, allocations: 11.94 kB / 478.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.107e-05/0.1138, allocations: 7.922 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.1138, allocations: 4 kB / 478.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1138, allocations: 4 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.114, allocations: 204.2 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.114, allocations: 0 / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1142, allocations: 20 kB / 478.9 MB, free: 6.336 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.001339/0.1156, allocations: 1.1 MB / 480 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001497/0.1157, allocations: 67.83 kB / 480.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1158, allocations: 0 / 480.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.1158, allocations: 31.92 kB / 480.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.1162, allocations: 23.98 kB / 480.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.118, allocations: 1.828 MB / 481.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002847/0.1183, allocations: 0.7193 MB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.1183, allocations: 12.88 kB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.1184, allocations: 39.42 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1184, allocations: 0 / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.1311, allocations: 3.273 MB / 486 MB, free: 15.41 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.1313, allocations: 237.6 kB / 486.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/1.856, allocations: 0 / 486.2 MB, free: 15.15 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches