Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.001551/0.001551, allocations: 103.1 kB / 16.27 MB, free: 5.957 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.001714/0.001714, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.425/1.425, allocations: 205.1 MB / 223.1 MB, free: 12.2 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.219/0.219, allocations: 43.53 MB / 313.9 MB, free: 0.5156 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.001603/0.001604, allocations: 76.92 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1042, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002971/0.1072, allocations: 1.689 MB / 442.3 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.1082, allocations: 0.7961 MB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.1083, allocations: 4 kB / 443.1 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000306/0.1087, allocations: 39.77 kB / 443.2 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1089, allocations: 51.77 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1091, allocations: 87.75 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1093, allocations: 91.7 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1094, allocations: 12.17 kB / 443.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/0.1095, allocations: 47.77 kB / 443.4 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.796e-05/0.1096, allocations: 31.8 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1096, allocations: 4 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.568e-05/0.1097, allocations: 39.98 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.712e-05/0.1097, allocations: 15.92 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.1098, allocations: 31.8 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.1099, allocations: 103.7 kB / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1099, allocations: 0 / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1099, allocations: 0 / 443.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.11, allocations: 0 / 443.7 MB, free: 3.746 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.0004252/0.1104, allocations: 407 kB / 444.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1104, allocations: 11.89 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.1105, allocations: 38.69 kB / 444.1 MB, free: 3.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.1105, allocations: 8.844 kB / 444.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1107, allocations: 208.4 kB / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1107, allocations: 4 kB / 444.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.1107, allocations: 0 / 444.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1108, allocations: 53.67 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1109, allocations: 0 / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1109, allocations: 4 kB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1109, allocations: 7.938 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.633e-05/0.1109, allocations: 23.92 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.1112, allocations: 280.9 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.1114, allocations: 58.67 kB / 444.8 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.1114, allocations: 20.86 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.1115, allocations: 7.984 kB / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.1116, allocations: 75.22 kB / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1116, allocations: 0 / 444.9 MB, free: 2.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004668/0.1121, allocations: 161.3 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.1122, allocations: 59.28 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1123, allocations: 163 kB / 445.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.1123, allocations: 29.7 kB / 445.3 MB, free: 1.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.5e-05/0.1123, allocations: 100.1 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1124, allocations: 27.64 kB / 445.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.1124, allocations: 21.72 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.1124, allocations: 318.8 kB / 445.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1125, allocations: 23.98 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.1126, allocations: 37.7 kB / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.982e-05/0.1127, allocations: 57.66 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1127, allocations: 0 / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/0.1128, allocations: 101.6 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1128, allocations: 8 kB / 445.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1128, allocations: 3.938 kB / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1129, allocations: 0 / 445.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.1129, allocations: 15.94 kB / 446 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.113, allocations: 7.984 kB / 446 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.113, allocations: 4.031 kB / 446 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.113, allocations: 8 kB / 446 MB, free: 1.188 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 5.701e-05/0.1131, allocations: 121.8 kB / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.892e-05/0.1131, allocations: 15.81 kB / 446.1 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.1132, allocations: 20.64 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1132, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1132, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1132, allocations: 0 / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.1135, allocations: 395.3 kB / 446.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1135, allocations: 384 / 446.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.1135, allocations: 15.88 kB / 446.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1135, allocations: 4 kB / 446.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1135, allocations: 7.984 kB / 446.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1135, allocations: 0 / 446.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1136, allocations: 0 / 446.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1137, allocations: 204.3 kB / 446.7 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.1137, allocations: 85.02 kB / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1138, allocations: 0 / 446.8 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.1138, allocations: 4 kB / 446.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.1139, allocations: 12.17 kB / 446.8 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1139, allocations: 4 kB / 446.8 MB, free: 208 kB / 318.1 MB Notification: Performance of sorting global known variables: time 5.917e-05/0.114, allocations: 127.9 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.114, allocations: 4 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.1142, allocations: 27.98 kB / 447 MB, free: 48 kB / 318.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.001418/0.1156, allocations: 1.099 MB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001715/0.1158, allocations: 71.83 kB / 448.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1158, allocations: 0 / 448.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.927e-05/0.1159, allocations: 27.94 kB / 448.2 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.1162, allocations: 30.12 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.1178, allocations: 1.562 MB / 449.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1181, allocations: 0.7041 MB / 450.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.1181, allocations: 13.19 kB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.1182, allocations: 31.42 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1182, allocations: 0 / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.1483, allocations: 3.199 MB / 453.7 MB, free: 9.242 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.107, allocations: 0 / 453.7 MB, free: 9.242 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches