Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",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.00176/0.00176, allocations: 103.4 kB / 16.4 MB, free: 6.496 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.001971/0.001971, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.765/1.765, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2352/0.2352, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.00159/0.00159, allocations: 71.91 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1162, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003185/0.1195, allocations: 1.654 MB / 0.4891 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1209, allocations: 0.7844 MB / 0.4898 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1211, allocations: 4 kB / 0.4899 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.1215, allocations: 59.73 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.1217, allocations: 55.77 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.122, allocations: 79.77 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001945/0.1222, allocations: 95.69 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.365e-05/0.1223, allocations: 15.92 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.1224, allocations: 43.78 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.1225, allocations: 27.84 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1225, allocations: 4 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.98e-05/0.1226, allocations: 31.92 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.1226, allocations: 23.92 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.1227, allocations: 39.69 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.1229, allocations: 111.6 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.1229, allocations: 4 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1229, allocations: 0 / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.123, allocations: 0 / 0.4904 GB, free: 9.188 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005582/0.1235, allocations: 438.1 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1236, allocations: 15.89 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.1236, allocations: 34.69 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.1237, allocations: 12.83 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.124, allocations: 215.8 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.124, allocations: 384 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.124, allocations: 11.92 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1242, allocations: 45.69 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1242, allocations: 4 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1242, allocations: 0 / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1242, allocations: 0 / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.1243, allocations: 15.98 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.1245, allocations: 193.6 kB / 0.4914 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1247, allocations: 58.5 kB / 0.4914 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.1248, allocations: 24.84 kB / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1248, allocations: 0 / 0.4914 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.125, allocations: 63.39 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.125, allocations: 3.938 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002979/0.1253, allocations: 101.5 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1253, allocations: 51.41 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.1256, allocations: 262.5 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1256, allocations: 25.7 kB / 0.4919 GB, free: 7.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.1257, allocations: 112.1 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.1257, allocations: 23.73 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.1258, allocations: 13.72 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1259, allocations: 326.8 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.206e-05/0.1259, allocations: 19.97 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.126, allocations: 25.97 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1261, allocations: 53.64 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1261, allocations: 3.938 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001542/0.1263, allocations: 85.5 kB / 0.4926 GB, free: 6.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1263, allocations: 4 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1263, allocations: 7.922 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1263, allocations: 4 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.1264, allocations: 8 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1264, allocations: 4.188 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.579e-05/0.1265, allocations: 4 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1265, allocations: 0 / 0.4926 GB, free: 6.711 MB / 382.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 (7): * Single equations (assignments): 7 * 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.000106/0.1266, allocations: 145.7 kB / 0.4927 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.1266, allocations: 15.81 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.661e-05/0.1267, allocations: 20.97 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1267, allocations: 4 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1267, allocations: 0 / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1267, allocations: 0 / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.1269, allocations: 197.6 kB / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1269, allocations: 0 / 0.493 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.1269, allocations: 4 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1269, allocations: 0 / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1269, allocations: 3.984 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1269, allocations: 3.938 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.1269, allocations: 4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.1272, allocations: 113 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.1272, allocations: 97 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1273, allocations: 3.938 kB / 0.4932 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.1273, allocations: 4 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.1273, allocations: 4 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.1274, allocations: 7.984 kB / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.1275, allocations: 188.5 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1276, allocations: 0 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1278, allocations: 20 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001516/0.1293, allocations: 0.9561 MB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1296, allocations: 39.98 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1296, allocations: 0 / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.1297, allocations: 23.92 kB / 0.4944 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.13, allocations: 31.33 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1321, allocations: 1.665 MB / 0.496 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.1324, allocations: 0.708 MB / 0.4967 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.011e-05/0.1324, allocations: 12.55 kB / 0.4967 GB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.1325, allocations: 43.42 kB / 0.4968 GB, free: 2.215 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1325, allocations: 4 kB / 0.4968 GB, free: 2.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.1552, allocations: 3.43 MB / 0.5001 GB, free: 14.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.655, allocations: 8 kB / 0.5001 GB, free: 14.75 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time