Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.001037/0.001037, allocations: 105.2 kB / 16.4 MB, free: 6.453 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.001016/0.001016, allocations: 192.2 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.427/1.427, 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.2262/0.2262, allocations: 43.52 MB / 314.1 MB, free: 452 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.001778/0.001778, allocations: 81.45 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1555, allocations: 57.78 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004329/0.1599, allocations: 1.916 MB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1616, allocations: 0.8389 MB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.1618, allocations: 4 kB / 0.4901 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004167/0.1623, allocations: 43.7 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1626, allocations: 55.7 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.1631, allocations: 119.7 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1634, allocations: 135.5 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.1635, allocations: 29.47 kB / 0.4905 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1637, allocations: 59.72 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.1638, allocations: 51.7 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.1639, allocations: 8 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.164, allocations: 47.92 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.1641, allocations: 27.91 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.1642, allocations: 51.62 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.1646, allocations: 139.6 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1646, allocations: 0 / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1646, allocations: 0 / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1646, allocations: 0 / 0.4909 GB, free: 8.684 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009588/0.1656, allocations: 0.4886 MB / 0.4914 GB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1657, allocations: 11.89 kB / 0.4914 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.135e-05/0.1657, allocations: 38.73 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.1658, allocations: 20.75 kB / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.1662, allocations: 216.1 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.1662, allocations: 4.375 kB / 0.4916 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.1663, allocations: 11.94 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.1665, allocations: 112.1 kB / 0.4918 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1666, allocations: 4 kB / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1666, allocations: 0 / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1666, allocations: 0 / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/0.1669, allocations: 51.91 kB / 0.4918 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.1676, allocations: 0.5048 MB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.168, allocations: 94.58 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.691e-05/0.1681, allocations: 36.84 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.1681, allocations: 0 / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.1683, allocations: 91.3 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.1684, allocations: 0 / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004221/0.1688, allocations: 145.7 kB / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1688, allocations: 51.41 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.169, allocations: 191.4 kB / 0.4929 GB, free: 6.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1691, allocations: 29.8 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.1692, allocations: 119.9 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1692, allocations: 27.64 kB / 0.4931 GB, free: 6.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.1693, allocations: 25.72 kB / 0.4931 GB, free: 6.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1694, allocations: 326.8 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.754e-05/0.1695, allocations: 31.97 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1696, allocations: 60.28 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.1698, allocations: 100.2 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.1698, allocations: 0 / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002886/0.1701, allocations: 145.2 kB / 0.4937 GB, free: 5.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1702, allocations: 4 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1702, allocations: 4 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.1702, allocations: 3.938 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1703, allocations: 31.98 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1703, allocations: 0 / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.1704, allocations: 7.906 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1704, allocations: 4.125 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001336/0.1706, allocations: 145.6 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.1706, allocations: 11.81 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.515e-05/0.1707, allocations: 21.39 kB / 0.4939 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1707, allocations: 7.938 kB / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1707, allocations: 0 / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1707, allocations: 0 / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1709, allocations: 205.6 kB / 0.4941 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1709, allocations: 0 / 0.4941 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.171, allocations: 8 kB / 0.4941 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.171, allocations: 8 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.171, allocations: 8.078 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.171, allocations: 7.875 kB / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.171, allocations: 0 / 0.4942 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1714, allocations: 176.8 kB / 0.4943 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.05e-05/0.1715, allocations: 85.05 kB / 0.4944 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.1715, allocations: 8.047 kB / 0.4944 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.242e-05/0.1716, allocations: 11.94 kB / 0.4944 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.1717, allocations: 7.984 kB / 0.4944 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1717, allocations: 7.938 kB / 0.4945 GB, free: 4.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.1718, allocations: 141.2 kB / 0.4946 GB, free: 4.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1718, allocations: 0 / 0.4946 GB, free: 4.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1721, allocations: 32.03 kB / 0.4946 GB, free: 4.461 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001555/0.1736, allocations: 1.02 MB / 0.4956 GB, free: 3.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.1739, allocations: 79.91 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1739, allocations: 0 / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.174, allocations: 44.17 kB / 0.4957 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.1744, allocations: 54.94 kB / 0.4958 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.1765, allocations: 1.729 MB / 0.4975 GB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1769, allocations: 0.7123 MB / 0.4982 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.04e-05/0.1769, allocations: 17.42 kB / 0.4982 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.854e-05/0.177, allocations: 39.42 kB / 0.4982 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.177, allocations: 4 kB / 0.4982 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.2038, allocations: 3.809 MB / 0.5019 GB, free: 12.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.64, allocations: 4 kB / 0.502 GB, free: 12.82 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches