Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14",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.00148/0.001485, allocations: 104.5 kB / 16.41 MB, free: 6.449 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.00142/0.00142, allocations: 189.5 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.843/1.843, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2264/0.2264, allocations: 43.52 MB / 314.1 MB, free: 448 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.001693/0.001693, allocations: 77.45 kB / 441.3 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1383, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003954/0.1423, allocations: 1.62 MB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1439, allocations: 0.9574 MB / 0.4899 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.601e-05/0.1441, allocations: 4 kB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.1443, allocations: 27.78 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.1446, allocations: 47.77 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.1451, allocations: 151.7 kB / 0.4901 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1453, allocations: 67.88 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1455, allocations: 19.97 kB / 0.4902 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.489e-05/0.1456, allocations: 27.88 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.1458, allocations: 43.77 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.1458, allocations: 4 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.146, allocations: 47.98 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.462e-05/0.1461, allocations: 15.97 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.1461, allocations: 31.8 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1464, allocations: 107.7 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.1464, allocations: 0 / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1464, allocations: 0 / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1464, allocations: 0 / 0.4905 GB, free: 9.078 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000589/0.147, allocations: 399.1 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1471, allocations: 11.89 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.1471, allocations: 38.75 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.1472, allocations: 4.844 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1474, allocations: 196.1 kB / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1474, allocations: 384 / 0.4911 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1475, allocations: 8.375 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.1477, allocations: 83.31 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1477, allocations: 0 / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1478, allocations: 0 / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1478, allocations: 3.938 kB / 0.4912 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1479, allocations: 43.95 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.1484, allocations: 300.8 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.1486, allocations: 50.55 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/0.1487, allocations: 32.81 kB / 0.4916 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1487, allocations: 4 kB / 0.4916 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1487, allocations: 34.55 kB / 0.4917 GB, free: 7.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1487, allocations: 0 / 0.4917 GB, free: 7.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008402/0.1496, allocations: 225.1 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.1497, allocations: 81.11 kB / 0.4919 GB, free: 7.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1498, allocations: 144.4 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1499, allocations: 25.7 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.15, allocations: 100 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.15, allocations: 27.66 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1501, allocations: 21.7 kB / 0.4922 GB, free: 7.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1502, allocations: 318.8 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.1503, allocations: 39.95 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1505, allocations: 53.75 kB / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.1507, allocations: 92.83 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1507, allocations: 0 / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002955/0.151, allocations: 121.5 kB / 0.4928 GB, free: 6.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1511, allocations: 8 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1511, allocations: 4 kB / 0.4929 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1511, allocations: 4 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1512, allocations: 19.98 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1512, allocations: 3.938 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.799e-05/0.1513, allocations: 11.98 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1513, allocations: 4 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.101e-05/0.1514, allocations: 117.8 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.1515, allocations: 11.89 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.1518, allocations: 138.3 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1518, allocations: 0 / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1518, allocations: 7.938 kB / 0.4932 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1519, allocations: 3.984 kB / 0.4932 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.1524, allocations: 406.8 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1524, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.1525, allocations: 19.98 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.1525, allocations: 3.938 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.1526, allocations: 11.94 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1526, allocations: 0 / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1526, allocations: 3.984 kB / 0.4936 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1529, allocations: 223.5 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.153, allocations: 85 kB / 0.4939 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.153, allocations: 7.938 kB / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.993e-05/0.1531, allocations: 7.984 kB / 0.4939 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.1532, allocations: 8 kB / 0.4939 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1532, allocations: 7.922 kB / 0.4939 GB, free: 5.211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.1533, allocations: 107.3 kB / 0.494 GB, free: 5.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1533, allocations: 4 kB / 0.494 GB, free: 5.102 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1535, allocations: 27.98 kB / 0.494 GB, free: 5.074 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001576/0.1551, allocations: 1.097 MB / 0.4951 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003244/0.1555, allocations: 87.88 kB / 0.4952 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1555, allocations: 0 / 0.4952 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.1557, allocations: 51.95 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.156, allocations: 15.94 kB / 0.4953 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.1581, allocations: 1.589 MB / 0.4968 GB, free: 2.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1585, allocations: 0.7041 MB / 0.4975 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1586, allocations: 25.11 kB / 0.4975 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.1587, allocations: 31.42 kB / 0.4976 GB, free: 1.395 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1587, allocations: 0 / 0.4976 GB, free: 1.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.1838, allocations: 3.147 MB / 0.5006 GB, free: 14.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.779, allocations: 8 kB / 0.5006 GB, free: 14.17 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u1[1]),der(t_new.u2[1]),t_new.extrapolation,t_new.n,t_new.smoothness,t_new.tableOnFile,t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time