Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.001491/0.001491, allocations: 103.6 kB / 16.41 MB, free: 6.484 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.001678/0.001678, allocations: 188.1 kB / 17.34 MB, free: 5.766 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.474/1.474, 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.2178/0.2178, allocations: 43.53 MB / 314.1 MB, free: 476 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.001373/0.001373, allocations: 67.91 kB / 441.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1216, allocations: 57.8 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003518/0.1251, allocations: 1.689 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1267, allocations: 0.7961 MB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.1268, allocations: 3.938 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.1272, allocations: 51.75 kB / 0.49 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.1275, allocations: 51.77 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1278, allocations: 91.69 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1281, allocations: 95.69 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1282, allocations: 12.22 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1283, allocations: 43.78 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.1284, allocations: 35.78 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.1284, allocations: 4 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1286, allocations: 43.97 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.021e-05/0.1286, allocations: 27.92 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.022e-05/0.1287, allocations: 35.75 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.129, allocations: 107.7 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.129, allocations: 0 / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.129, allocations: 0 / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.129, allocations: 0 / 0.4905 GB, free: 9.145 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000596/0.1296, allocations: 426.8 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1297, allocations: 11.89 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1297, allocations: 34.75 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.1298, allocations: 8.844 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1301, allocations: 220.7 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1301, allocations: 4.375 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1301, allocations: 7.938 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1303, allocations: 53.67 kB / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1303, allocations: 0 / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1303, allocations: 4 kB / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1303, allocations: 3.938 kB / 0.4912 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.1304, allocations: 19.98 kB / 0.4912 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.1309, allocations: 284.8 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.131, allocations: 58.67 kB / 0.4916 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/0.1311, allocations: 28.78 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1311, allocations: 4 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.1313, allocations: 63.39 kB / 0.4917 GB, free: 7.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1313, allocations: 0 / 0.4917 GB, free: 7.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005641/0.1319, allocations: 181.2 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.1319, allocations: 55.41 kB / 0.4919 GB, free: 7.512 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.1322, allocations: 199.3 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.1322, allocations: 25.7 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.1323, allocations: 112 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1323, allocations: 27.58 kB / 0.4922 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/0.1324, allocations: 21.72 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1325, allocations: 330.8 kB / 0.4926 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.1326, allocations: 19.94 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.1327, allocations: 37.7 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1328, allocations: 65.64 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1328, allocations: 0 / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002168/0.1331, allocations: 93.53 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1331, allocations: 8 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1331, allocations: 0 / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1331, allocations: 0 / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1332, allocations: 19.98 kB / 0.4928 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1333, allocations: 8.031 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.1333, allocations: 3.938 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1333, allocations: 4.375 kB / 0.4928 GB, free: 6.504 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 (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 0.0001199/0.1335, allocations: 129.8 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.1335, allocations: 15.81 kB / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.1336, allocations: 17.39 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1336, allocations: 0 / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1336, allocations: 7.938 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1336, allocations: 3.938 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.1341, allocations: 391.4 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1341, allocations: 0 / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.1342, allocations: 11.94 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.1342, allocations: 11.92 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1342, allocations: 0 / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1342, allocations: 0 / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1342, allocations: 0 / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1345, allocations: 204.3 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.1346, allocations: 88.92 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.1346, allocations: 7.938 kB / 0.4937 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.1347, allocations: 3.984 kB / 0.4937 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.1347, allocations: 11.94 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.1348, allocations: 7.938 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1349, allocations: 152.9 kB / 0.4938 GB, free: 5.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1349, allocations: 4 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1352, allocations: 23.98 kB / 0.4939 GB, free: 5.32 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: 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.001659/0.1369, allocations: 1.088 MB / 0.4949 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.1371, allocations: 55.91 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1371, allocations: 4 kB / 0.495 GB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.1372, allocations: 27.94 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1376, allocations: 39.47 kB / 0.495 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1395, allocations: 1.67 MB / 0.4967 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1399, allocations: 0.7002 MB / 0.4974 GB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.068e-05/0.14, allocations: 21.17 kB / 0.4974 GB, free: 1.617 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.1401, allocations: 35.42 kB / 0.4974 GB, free: 1.582 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1401, allocations: 0 / 0.4974 GB, free: 1.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.1631, allocations: 3.454 MB / 0.5008 GB, free: 14.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.474, allocations: 16.2 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time