Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80",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.001306/0.001306, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001391/0.001391, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.407/1.407, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2205/0.2205, allocations: 43.52 MB / 314.1 MB, free: 444 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.001379/0.001379, allocations: 77.45 kB / 441.4 MB, free: 6.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1296, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003953/0.1336, allocations: 1.782 MB / 0.4892 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.1362, allocations: 1.48 MB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1364, allocations: 3.938 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.1368, allocations: 55.75 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.1372, allocations: 87.53 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.1377, allocations: 147.6 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.138, allocations: 179.5 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.473e-05/0.1381, allocations: 21.47 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1383, allocations: 79.58 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.1385, allocations: 79.61 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.1386, allocations: 4 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.1388, allocations: 59.98 kB / 0.4913 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.1389, allocations: 31.89 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.1389, allocations: 59.61 kB / 0.4914 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.1393, allocations: 175.5 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1393, allocations: 0 / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1393, allocations: 0 / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1393, allocations: 0 / 0.4916 GB, free: 7.961 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007225/0.14, allocations: 462.6 kB / 0.492 GB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1401, allocations: 15.89 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.1401, allocations: 30.75 kB / 0.4921 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.1402, allocations: 16.75 kB / 0.4921 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1406, allocations: 259.6 kB / 0.4923 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.1407, allocations: 8.359 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1407, allocations: 7.938 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.1409, allocations: 93.08 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.141, allocations: 0 / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.141, allocations: 7.984 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.141, allocations: 4 kB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1411, allocations: 31.92 kB / 0.4925 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002743/0.1414, allocations: 210.5 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1417, allocations: 113 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.1418, allocations: 41.69 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.1418, allocations: 4 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.1421, allocations: 109 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.1421, allocations: 4 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004585/0.1425, allocations: 161.8 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.1426, allocations: 132.5 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.1429, allocations: 215.8 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1429, allocations: 25.7 kB / 0.4934 GB, free: 5.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.143, allocations: 112.1 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.143, allocations: 31.64 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.1431, allocations: 37.7 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1432, allocations: 322.8 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.1433, allocations: 27.92 kB / 0.494 GB, free: 5.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1435, allocations: 81.19 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.1436, allocations: 87.39 kB / 0.4941 GB, free: 5.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1437, allocations: 7.938 kB / 0.4941 GB, free: 5.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000274/0.1439, allocations: 129.4 kB / 0.4942 GB, free: 4.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.144, allocations: 8 kB / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.144, allocations: 0 / 0.4943 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.144, allocations: 4 kB / 0.4943 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1441, allocations: 27.92 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1441, allocations: 4.062 kB / 0.4943 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.737e-05/0.1442, allocations: 11.91 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1442, allocations: 4 kB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001254/0.1444, allocations: 137.6 kB / 0.4944 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.1444, allocations: 15.81 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.1445, allocations: 24.98 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1445, allocations: 0 / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1445, allocations: 0 / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1445, allocations: 8 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.1447, allocations: 213.5 kB / 0.4947 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1447, allocations: 128 / 0.4947 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.1447, allocations: 11.98 kB / 0.4947 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1447, allocations: 4 kB / 0.4947 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1448, allocations: 3.984 kB / 0.4947 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1448, allocations: 3.938 kB / 0.4947 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1448, allocations: 4 kB / 0.4947 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1451, allocations: 173.6 kB / 0.4949 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.1451, allocations: 92.91 kB / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.1452, allocations: 0 / 0.495 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.1452, allocations: 4 kB / 0.495 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.1453, allocations: 11.98 kB / 0.495 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.1453, allocations: 4 kB / 0.495 GB, free: 4.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1455, allocations: 165.5 kB / 0.4951 GB, free: 3.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1455, allocations: 0 / 0.4951 GB, free: 3.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1458, allocations: 36 kB / 0.4952 GB, free: 3.852 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001532/0.1473, allocations: 1.055 MB / 0.4962 GB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1476, allocations: 79.89 kB / 0.4963 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1476, allocations: 3.938 kB / 0.4963 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1477, allocations: 39.98 kB / 0.4963 GB, free: 2.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1481, allocations: 67.38 kB / 0.4964 GB, free: 2.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.1503, allocations: 1.801 MB / 0.4982 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.1506, allocations: 0.7164 MB / 0.4989 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.1508, allocations: 37.5 kB / 0.4989 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.1509, allocations: 51.42 kB / 0.4989 GB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1509, allocations: 0 / 0.4989 GB, free: 15.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.178, allocations: 4.773 MB / 0.5036 GB, free: 11.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.628, allocations: 3.906 kB / 0.5036 GB, free: 11.05 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new_2.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nout,t_new_2.offset[1],t_new_2.shiftTime,t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.timeEvents,t_new_2.timeScale,t_new_2.verboseExtrapolation,t_new_2.verboseRead,t_new_2.y[1],time