Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001649/0.001649, allocations: 107.5 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.001741/0.001741, 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.445/1.445, allocations: 222.9 MB / 241.8 MB, free: 15.51 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.17 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 69.03 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1009, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002862/0.1038, allocations: 1.842 MB / 470.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1059, allocations: 1.53 MB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.247e-05/0.1059, allocations: 0 / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.1063, allocations: 43.83 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.1065, allocations: 75.67 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1069, allocations: 159.4 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1071, allocations: 167.5 kB / 472.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.113e-05/0.1071, allocations: 13.56 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1073, allocations: 75.56 kB / 472.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1075, allocations: 75.62 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.1075, allocations: 7.984 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1076, allocations: 55.98 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.1077, allocations: 31.89 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.829e-05/0.1078, allocations: 59.55 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.108, allocations: 167.8 kB / 472.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.108, allocations: 3.938 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.108, allocations: 0 / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.108, allocations: 0 / 472.9 MB, free: 10.43 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006171/0.1086, allocations: 466.6 kB / 473.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1087, allocations: 12.03 kB / 473.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.1087, allocations: 34.69 kB / 473.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.1088, allocations: 12.84 kB / 473.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1091, allocations: 243.8 kB / 473.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.1091, allocations: 12.36 kB / 473.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1091, allocations: 7.938 kB / 473.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.1093, allocations: 101 kB / 473.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1094, allocations: 0 / 473.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1094, allocations: 4 kB / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1094, allocations: 0 / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1095, allocations: 27.98 kB / 473.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.1097, allocations: 218.5 kB / 474 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.11, allocations: 113.1 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.1101, allocations: 37.7 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1101, allocations: 4 kB / 474.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.1104, allocations: 105 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.1104, allocations: 4 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004477/0.1109, allocations: 165.4 kB / 474.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.1109, allocations: 128.5 kB / 474.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.1112, allocations: 223.7 kB / 474.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1112, allocations: 25.7 kB / 474.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.1113, allocations: 116.1 kB / 474.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.1113, allocations: 31.55 kB / 475 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1113, allocations: 33.7 kB / 475 MB, free: 8.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1115, allocations: 322.8 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.398e-05/0.1115, allocations: 27.98 kB / 475.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1117, allocations: 73.12 kB / 475.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.1118, allocations: 83.36 kB / 475.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1119, allocations: 3.938 kB / 475.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000265/0.1121, allocations: 145.9 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1122, allocations: 8 kB / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1122, allocations: 0 / 475.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1122, allocations: 3.938 kB / 475.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1123, allocations: 24.05 kB / 475.7 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1123, allocations: 4 kB / 475.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.1124, allocations: 4 kB / 475.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1124, allocations: 4 kB / 475.7 MB, free: 7.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001106/0.1125, allocations: 146.3 kB / 475.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.1126, allocations: 19.81 kB / 475.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.1126, allocations: 20.98 kB / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1126, allocations: 0 / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1126, allocations: 0 / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1127, allocations: 0 / 475.9 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.1128, allocations: 217.4 kB / 476.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1128, allocations: 4 kB / 476.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.1129, allocations: 7.984 kB / 476.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1129, allocations: 0 / 476.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1129, allocations: 8 kB / 476.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1129, allocations: 0 / 476.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1129, allocations: 3.984 kB / 476.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.1132, allocations: 173.6 kB / 476.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.1133, allocations: 92.94 kB / 476.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.1133, allocations: 0 / 476.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1134, allocations: 8 kB / 476.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.1134, allocations: 11.98 kB / 476.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1134, allocations: 7.938 kB / 476.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.1136, allocations: 164.1 kB / 476.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1136, allocations: 0 / 476.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1139, allocations: 39.98 kB / 476.6 MB, free: 6.34 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00145/0.1153, allocations: 1.047 MB / 477.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.1156, allocations: 83.95 kB / 477.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1156, allocations: 0 / 477.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1157, allocations: 43.92 kB / 477.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.1161, allocations: 52.11 kB / 477.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.118, allocations: 1.856 MB / 479.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.1183, allocations: 0.7167 MB / 480.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.284e-05/0.1184, allocations: 37.45 kB / 480.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.692e-05/0.1185, allocations: 51.41 kB / 480.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1185, allocations: 0 / 480.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.1329, allocations: 4.385 MB / 484.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/0.1331, allocations: 246.8 kB / 485.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.885, allocations: 3.938 kB / 485.1 MB, free: 13.94 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches