Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.001107/0.001107, allocations: 102.6 kB / 16.27 MB, free: 5.875 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.001146/0.001146, allocations: 189.3 kB / 17.19 MB, free: 5.52 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.42/1.42, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.202/0.202, 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.001563/0.001563, allocations: 73.27 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1048, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003023/0.1079, allocations: 1.701 MB / 442.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.1092, allocations: 0.8117 MB / 443.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1093, allocations: 0 / 443.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.1097, allocations: 107.7 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.11, allocations: 83.7 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.1104, allocations: 91.69 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.1106, allocations: 119.7 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.1108, allocations: 19.92 kB / 443.6 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1109, allocations: 55.78 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.111, allocations: 75.73 kB / 443.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1111, allocations: 4 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1112, allocations: 47.97 kB / 443.7 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.1113, allocations: 27.92 kB / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.1113, allocations: 43.67 kB / 443.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.1116, allocations: 139.6 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1116, allocations: 0 / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.1116, allocations: 0 / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1116, allocations: 3.938 kB / 443.9 MB, free: 3.441 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006095/0.1122, allocations: 446.6 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.1123, allocations: 15.89 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.1123, allocations: 34.75 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.1124, allocations: 16.75 kB / 444.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1126, allocations: 220 kB / 444.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1126, allocations: 4.359 kB / 444.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.1127, allocations: 7.938 kB / 444.7 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1128, allocations: 65.61 kB / 444.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1129, allocations: 4 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1129, allocations: 0 / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1129, allocations: 4 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.937e-05/0.113, allocations: 31.97 kB / 444.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.1134, allocations: 328.6 kB / 445.1 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.1136, allocations: 70.73 kB / 445.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.1136, allocations: 32.84 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1137, allocations: 0 / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.1139, allocations: 75.42 kB / 445.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1139, allocations: 0 / 445.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005541/0.1145, allocations: 229.3 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1145, allocations: 55.34 kB / 445.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.1147, allocations: 258.3 kB / 445.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.1147, allocations: 25.7 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.1148, allocations: 112.1 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.1148, allocations: 35.55 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.1149, allocations: 25.72 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.1149, allocations: 330.8 kB / 446.3 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.296e-05/0.115, allocations: 28 kB / 446.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.629e-05/0.1151, allocations: 53.69 kB / 446.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1152, allocations: 77.66 kB / 446.5 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1152, allocations: 3.984 kB / 446.5 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001922/0.1154, allocations: 133.5 kB / 446.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.1154, allocations: 4 kB / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1154, allocations: 80 / 446.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1154, allocations: 3.984 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.1155, allocations: 23.97 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1156, allocations: 11.92 kB / 446.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.735e-05/0.1156, allocations: 11.92 kB / 446.7 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.1156, allocations: 4 kB / 446.7 MB, free: 472 kB / 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 (13): * Single equations (assignments): 13 * 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 8.408e-05/0.1157, allocations: 141.1 kB / 446.8 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1157, allocations: 15.81 kB / 446.8 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.1158, allocations: 21.39 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1158, allocations: 0 / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1158, allocations: 11.92 kB / 446.9 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1158, allocations: 4 kB / 446.9 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.1163, allocations: 451.1 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1163, allocations: 3.938 kB / 447.3 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.1164, allocations: 12 kB / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1164, allocations: 0 / 447.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1164, allocations: 8.094 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1164, allocations: 3.938 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1164, allocations: 32 / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.1168, allocations: 236.1 kB / 447.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.1168, allocations: 92.86 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.1169, allocations: 8 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.1169, allocations: 3.984 kB / 447.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.117, allocations: 4 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.117, allocations: 19.98 kB / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1172, allocations: 188.2 kB / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1172, allocations: 0 / 447.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1175, allocations: 28 kB / 447.9 MB, free: 15.13 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 (11): * Single equations (assignments): 9 * 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.001613/0.1191, allocations: 1.124 MB / 449 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.1193, allocations: 79.91 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1194, allocations: 3.938 kB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.136e-05/0.1195, allocations: 47.98 kB / 449.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1198, allocations: 35.33 kB / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.1219, allocations: 1.872 MB / 451.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1222, allocations: 0.7239 MB / 451.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.95e-05/0.1223, allocations: 25.06 kB / 451.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.1224, allocations: 43.42 kB / 451.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1224, allocations: 0 / 451.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.1452, allocations: 3.84 MB / 455.7 MB, free: 7.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.896/8.041, allocations: 4.062 kB / 455.7 MB, free: 7.266 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches