Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_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.0007198/0.0007219, allocations: 97.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007314/0.0007314, allocations: 177.1 kB / 16.91 MB, free: 6.676 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.313/1.313, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3257/0.3257, allocations: 43.57 MB / 315 MB, free: 9.121 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.0005207/0.0005207, allocations: 16 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 58.86 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00183/0.1105, allocations: 1.492 MB / 445 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1123, allocations: 1.437 MB / 446.5 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.1124, allocations: 3.938 kB / 446.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1127, allocations: 51.81 kB / 446.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002007/0.1129, allocations: 75.67 kB / 446.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1132, allocations: 131.8 kB / 446.7 MB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1134, allocations: 171.5 kB / 446.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.1134, allocations: 17.53 kB / 446.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1136, allocations: 71.58 kB / 447 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.1137, allocations: 71.62 kB / 447.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1138, allocations: 4 kB / 447.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1139, allocations: 63.95 kB / 447.1 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.937e-05/0.114, allocations: 19.92 kB / 447.1 MB, free: 9.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.459e-05/0.114, allocations: 93.22 kB / 447.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1143, allocations: 163.8 kB / 447.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1143, allocations: 0 / 447.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1143, allocations: 4 kB / 447.4 MB, free: 8.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1143, allocations: 0 / 447.4 MB, free: 8.914 MB / 382.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.0005512/0.1149, allocations: 446.7 kB / 447.8 MB, free: 8.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1149, allocations: 12.03 kB / 447.8 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.1149, allocations: 34.75 kB / 447.9 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.115, allocations: 12.84 kB / 447.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1153, allocations: 255.5 kB / 448.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.1153, allocations: 8.359 kB / 448.2 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1153, allocations: 7.938 kB / 448.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.1155, allocations: 89.09 kB / 448.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1155, allocations: 0 / 448.2 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1155, allocations: 3.984 kB / 448.3 MB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1155, allocations: 4 kB / 448.3 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.716e-05/0.1157, allocations: 35.92 kB / 448.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.1159, allocations: 206.6 kB / 448.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1161, allocations: 113.1 kB / 448.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.1162, allocations: 41.7 kB / 448.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1163, allocations: 4 kB / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.1165, allocations: 105 kB / 448.8 MB, free: 7.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1165, allocations: 3.938 kB / 448.8 MB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003992/0.1169, allocations: 169.4 kB / 448.9 MB, free: 7.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.117, allocations: 136.5 kB / 449.1 MB, free: 7.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.1172, allocations: 211.8 kB / 449.3 MB, free: 6.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1172, allocations: 25.7 kB / 449.3 MB, free: 6.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.1173, allocations: 120.1 kB / 449.4 MB, free: 6.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.1173, allocations: 27.64 kB / 449.4 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.1174, allocations: 21.7 kB / 449.5 MB, free: 6.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1175, allocations: 330.8 kB / 449.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.1176, allocations: 27.98 kB / 449.8 MB, free: 6.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1177, allocations: 69.12 kB / 449.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.1179, allocations: 87.89 kB / 450 MB, free: 6.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1179, allocations: 3.938 kB / 450 MB, free: 6.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002639/0.1181, allocations: 145.3 kB / 450.1 MB, free: 5.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1182, allocations: 4 kB / 450.1 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1182, allocations: 3.938 kB / 450.1 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1182, allocations: 4 kB / 450.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1183, allocations: 19.98 kB / 450.1 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1183, allocations: 4 kB / 450.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.092e-05/0.1184, allocations: 12.05 kB / 450.1 MB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1184, allocations: 11.98 kB / 450.2 MB, free: 5.836 MB / 382.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.0001066/0.1185, allocations: 141.7 kB / 450.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.1186, allocations: 15.81 kB / 450.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/0.1186, allocations: 16.98 kB / 450.3 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1186, allocations: 4 kB / 450.3 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1186, allocations: 0 / 450.3 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1186, allocations: 0 / 450.3 MB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.1188, allocations: 221.4 kB / 450.5 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1188, allocations: 4 kB / 450.6 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.178e-05/0.1189, allocations: 8 kB / 450.6 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1189, allocations: 0 / 450.6 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1189, allocations: 7.984 kB / 450.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1189, allocations: 0 / 450.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1189, allocations: 0 / 450.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1192, allocations: 173.6 kB / 450.7 MB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/0.1193, allocations: 101 kB / 450.8 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1193, allocations: 7.875 kB / 450.8 MB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.1194, allocations: 7.984 kB / 450.9 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1194, allocations: 11.98 kB / 450.9 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1194, allocations: 8.125 kB / 450.9 MB, free: 5.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1196, allocations: 161.5 kB / 451 MB, free: 4.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1196, allocations: 0 / 451 MB, free: 4.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1199, allocations: 36 kB / 451.1 MB, free: 4.832 MB / 382.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.001464/0.1214, allocations: 1.062 MB / 452.1 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1216, allocations: 79.91 kB / 452.2 MB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1216, allocations: 0 / 452.2 MB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1217, allocations: 39.98 kB / 452.2 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1221, allocations: 47.89 kB / 452.3 MB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.1242, allocations: 1.839 MB / 454.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.1245, allocations: 0.7128 MB / 454.8 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.1246, allocations: 33.52 kB / 454.9 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.1247, allocations: 55.41 kB / 454.9 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of SimCode: time 2.124e-06/0.1247, allocations: 3.938 kB / 454.9 MB, free: 0.8477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1977/0.3224, allocations: 4.146 MB / 459.1 MB, free: 44.9 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.3226, allocations: 236.4 kB / 459.3 MB, free: 44.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.994, allocations: 0 / 459.3 MB, free: 44.65 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches