Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.001487/0.001487, allocations: 105.3 kB / 16.27 MB, free: 6.391 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.001554/0.001554, allocations: 185.2 kB / 17.2 MB, free: 5.941 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.412/1.412, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2071/0.2071, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001581/0.001581, allocations: 69.64 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 57.79 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003578/0.1058, allocations: 1.701 MB / 442.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.107, allocations: 0.7961 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1071, allocations: 0 / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003132/0.1074, allocations: 39.77 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1077, allocations: 51.77 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.108, allocations: 91.69 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1081, allocations: 87.77 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1082, allocations: 20.16 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.1083, allocations: 43.72 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.542e-05/0.1084, allocations: 31.86 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1084, allocations: 4 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1086, allocations: 43.97 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1086, allocations: 19.92 kB / 443.6 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.1087, allocations: 23.81 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1089, allocations: 111.7 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1089, allocations: 0 / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1089, allocations: 0 / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.109, allocations: 0 / 443.7 MB, free: 3.719 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.0005907/0.1096, allocations: 414.8 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1096, allocations: 15.89 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.1096, allocations: 34.73 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.1097, allocations: 8.844 kB / 444.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1099, allocations: 206.1 kB / 444.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.11, allocations: 8.359 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.11, allocations: 3.938 kB / 444.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1102, allocations: 57.67 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1102, allocations: 0 / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1102, allocations: 0 / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1102, allocations: 7.938 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.1103, allocations: 19.98 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.1106, allocations: 280.9 kB / 444.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.1108, allocations: 54.69 kB / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.1109, allocations: 28.78 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1109, allocations: 3.938 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1111, allocations: 67.39 kB / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1111, allocations: 0 / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005038/0.1116, allocations: 169.4 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.1116, allocations: 55.41 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1118, allocations: 174 kB / 445.3 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.1118, allocations: 33.7 kB / 445.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.1118, allocations: 104.1 kB / 445.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1119, allocations: 27.69 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.1119, allocations: 21.72 kB / 445.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.42e-05/0.112, allocations: 322.8 kB / 445.8 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.112, allocations: 19.98 kB / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.1121, allocations: 29.72 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.535e-05/0.1122, allocations: 69.64 kB / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1122, allocations: 0 / 445.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001512/0.1123, allocations: 97.52 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1124, allocations: 4 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1124, allocations: 7.938 kB / 446 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1124, allocations: 3.984 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.1125, allocations: 16 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1125, allocations: 32 / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.1125, allocations: 15.92 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1126, allocations: 4 kB / 446 MB, free: 1.137 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 6.506e-05/0.1126, allocations: 125.8 kB / 446.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.1126, allocations: 11.81 kB / 446.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.963e-05/0.1127, allocations: 16.7 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1127, allocations: 0 / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1127, allocations: 3.938 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1127, allocations: 3.938 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.113, allocations: 387.4 kB / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.113, allocations: 0 / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.1131, allocations: 11.94 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1131, allocations: 3.938 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1131, allocations: 7.984 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1131, allocations: 4 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1131, allocations: 0 / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.1133, allocations: 200.5 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.1133, allocations: 85.02 kB / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1133, allocations: 11.88 kB / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.1134, allocations: 3.984 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.1135, allocations: 7.938 kB / 446.9 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1135, allocations: 4 kB / 446.9 MB, free: 156 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.075e-05/0.1136, allocations: 135.2 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 4 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1138, allocations: 24.05 kB / 447 MB, free: 15.99 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 (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.001494/0.1153, allocations: 1.105 MB / 448.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1155, allocations: 63.92 kB / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1156, allocations: 0 / 448.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/0.1156, allocations: 31.92 kB / 448.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.116, allocations: 28.11 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.1177, allocations: 1.601 MB / 449.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.118, allocations: 0.7039 MB / 450.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.1181, allocations: 25.11 kB / 450.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.955e-05/0.1181, allocations: 27.42 kB / 450.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1181, allocations: 4 kB / 450.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.1383, allocations: 3.248 MB / 453.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.322/8.461, allocations: 8 kB / 453.9 MB, free: 9.074 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches