Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.001125/0.001125, allocations: 106.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.001164/0.001164, allocations: 190.9 kB / 17.34 MB, free: 5.715 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.382/1.382, 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.2123/0.2123, allocations: 43.53 MB / 314.1 MB, free: 440 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.001401/0.001401, allocations: 77.45 kB / 441.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1449, allocations: 57.78 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00393/0.1489, allocations: 1.705 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1515, allocations: 1.406 MB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1516, allocations: 4 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.152, allocations: 43.77 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.1524, allocations: 71.56 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.1528, allocations: 87.77 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.153, allocations: 95.75 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1531, allocations: 12.22 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1533, allocations: 47.77 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.1535, allocations: 31.86 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.1535, allocations: 7.938 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.1537, allocations: 67.89 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.1538, allocations: 15.98 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.1539, allocations: 27.81 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.1542, allocations: 123.7 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.1542, allocations: 0 / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1542, allocations: 4 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.1542, allocations: 0 / 0.4911 GB, free: 8.449 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.0007711/0.155, allocations: 403 kB / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.1551, allocations: 15.89 kB / 0.4915 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.1551, allocations: 34.73 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.1552, allocations: 8.844 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.1556, allocations: 211.8 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1556, allocations: 384 / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1557, allocations: 11.84 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.1559, allocations: 67.39 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1559, allocations: 3.984 kB / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1559, allocations: 0 / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.156, allocations: 4 kB / 0.4918 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.524e-05/0.1561, allocations: 23.92 kB / 0.4919 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/0.1565, allocations: 284.8 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1567, allocations: 54.67 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.1568, allocations: 20.86 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.1568, allocations: 3.938 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.1571, allocations: 75.38 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1571, allocations: 0 / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006289/0.1577, allocations: 173.3 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.1578, allocations: 77.11 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.158, allocations: 153.8 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.158, allocations: 29.7 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.1581, allocations: 100.1 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1581, allocations: 23.66 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.1582, allocations: 25.7 kB / 0.4928 GB, free: 6.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1583, allocations: 318.8 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.267e-05/0.1584, allocations: 19.98 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.503e-05/0.1585, allocations: 46.5 kB / 0.4932 GB, free: 6.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.1586, allocations: 65.67 kB / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1586, allocations: 0 / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002103/0.1589, allocations: 105.4 kB / 0.4934 GB, free: 5.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.1589, allocations: 4 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1589, allocations: 0 / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1589, allocations: 3.984 kB / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.159, allocations: 16 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.159, allocations: 0 / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.1591, allocations: 11.94 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1591, allocations: 4.031 kB / 0.4934 GB, free: 5.84 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.0001148/0.1592, allocations: 133.4 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.905e-05/0.1593, allocations: 7.906 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.1593, allocations: 12.72 kB / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1594, allocations: 0 / 0.4935 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1594, allocations: 3.938 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.1594, allocations: 7.922 kB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.1599, allocations: 383.4 kB / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1599, allocations: 0 / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.1599, allocations: 11.94 kB / 0.4939 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.16, allocations: 7.938 kB / 0.4939 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.16, allocations: 3.984 kB / 0.4939 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.16, allocations: 0 / 0.4939 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.16, allocations: 0 / 0.4939 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1602, allocations: 204.3 kB / 0.4941 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1603, allocations: 85.02 kB / 0.4942 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1604, allocations: 4.312 kB / 0.4942 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1604, allocations: 8 kB / 0.4942 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.1605, allocations: 11.92 kB / 0.4942 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1605, allocations: 8 kB / 0.4943 GB, free: 4.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1606, allocations: 118.5 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.1606, allocations: 0 / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1609, allocations: 31.98 kB / 0.4944 GB, free: 4.715 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.001796/0.1627, allocations: 1.135 MB / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.163, allocations: 55.91 kB / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.163, allocations: 0 / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.1631, allocations: 36.05 kB / 0.4956 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1635, allocations: 23.98 kB / 0.4956 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.1655, allocations: 1.551 MB / 0.4971 GB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.1659, allocations: 0.7002 MB / 0.4978 GB, free: 1.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.216e-05/0.166, allocations: 17.34 kB / 0.4978 GB, free: 1.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.1661, allocations: 35.41 kB / 0.4979 GB, free: 1.062 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1661, allocations: 3.938 kB / 0.4979 GB, free: 1.059 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.1909, allocations: 3.577 MB / 0.5014 GB, free: 13.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.238, allocations: 12 kB / 0.5014 GB, free: 13.4 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time