Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 213.8 kB / 23.77 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2534/0.2534, allocations: 44.26 MB / 331.1 MB, free: 9.41 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003045/0.003045, allocations: 71.91 kB / 468.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1496, allocations: 61.04 MB / 0.517 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00356/0.1531, allocations: 1.807 MB / 0.5187 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1548, allocations: 0.8675 MB / 0.5196 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.1549, allocations: 3.938 kB / 0.5196 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005976/0.1554, allocations: 255.4 kB / 0.5198 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.1559, allocations: 187.4 kB / 0.52 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004298/0.1563, allocations: 155.6 kB / 0.5202 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003579/0.1567, allocations: 247.3 kB / 0.5204 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.1568, allocations: 21.73 kB / 0.5204 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.157, allocations: 131.5 kB / 0.5205 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.1572, allocations: 195.5 kB / 0.5207 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.1573, allocations: 4 kB / 0.5207 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1574, allocations: 47.98 kB / 0.5208 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1575, allocations: 71.62 kB / 0.5208 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.596e-05/0.1576, allocations: 67.42 kB / 0.5209 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.1579, allocations: 222.9 kB / 0.5211 GB, free: 2.863 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1579, allocations: 8 kB / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1579, allocations: 0 / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1579, allocations: 0 / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007845/0.1587, allocations: 0.4886 MB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1588, allocations: 8.031 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.973e-05/0.1588, allocations: 8.125 kB / 0.5216 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.1588, allocations: 42.73 kB / 0.5217 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.1589, allocations: 32.75 kB / 0.5217 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1593, allocations: 214.5 kB / 0.5219 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.1593, allocations: 8.125 kB / 0.5219 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.1593, allocations: 7.938 kB / 0.5219 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.1596, allocations: 95.36 kB / 0.522 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1596, allocations: 0 / 0.522 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1596, allocations: 11.98 kB / 0.522 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1596, allocations: 0 / 0.522 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1597, allocations: 39.97 kB / 0.5221 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006183/0.1603, allocations: 431.9 kB / 0.5225 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.1607, allocations: 113.3 kB / 0.5226 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1608, allocations: 41.69 kB / 0.5226 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.1608, allocations: 4 kB / 0.5226 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.161, allocations: 117 kB / 0.5227 GB, free: 1.055 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.161, allocations: 0 / 0.5227 GB, free: 1.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009795/0.162, allocations: 400.4 kB / 0.5231 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.1621, allocations: 85.05 kB / 0.5232 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/0.1626, allocations: 489.6 kB / 0.5237 GB, free: 68 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1626, allocations: 33.69 kB / 0.5237 GB, free: 28 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1628, allocations: 164.3 kB / 0.5238 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.1628, allocations: 47.64 kB / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.1629, allocations: 33.7 kB / 0.5239 GB, free: 15.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1631, allocations: 342.8 kB / 0.5243 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.1632, allocations: 43.97 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1633, allocations: 75.41 kB / 0.5244 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.1636, allocations: 127.3 kB / 0.5245 GB, free: 15.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1636, allocations: 0 / 0.5245 GB, free: 15.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004204/0.164, allocations: 197.5 kB / 0.5247 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.164, allocations: 5.875 kB / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.164, allocations: 4 kB / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1641, allocations: 11.98 kB / 0.5247 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1642, allocations: 35.92 kB / 0.5247 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1642, allocations: 3.938 kB / 0.5247 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.1643, allocations: 8 kB / 0.5247 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1643, allocations: 4 kB / 0.5247 GB, free: 14.9 MB / 414.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001771/0.1645, allocations: 181.7 kB / 0.5249 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1645, allocations: 31.81 kB / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.165, allocations: 220.3 kB / 0.5252 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.165, allocations: 3.938 kB / 0.5252 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.165, allocations: 8 kB / 0.5252 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.165, allocations: 7.922 kB / 0.5252 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008291/0.1659, allocations: 0.5968 MB / 0.5258 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1659, allocations: 0 / 0.5258 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-05/0.1659, allocations: 23.92 kB / 0.5258 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1659, allocations: 4 kB / 0.5258 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.166, allocations: 8 kB / 0.5258 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.166, allocations: 4 kB / 0.5258 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.166, allocations: 64 / 0.5258 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004728/0.1664, allocations: 396.4 kB / 0.5262 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.1665, allocations: 27.81 kB / 0.5262 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.1665, allocations: 4 kB / 0.5262 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.1667, allocations: 11.98 kB / 0.5262 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.1667, allocations: 15.92 kB / 0.5262 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.1667, allocations: 11.98 kB / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003766/0.1671, allocations: 367.1 kB / 0.5266 GB, free: 12.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1671, allocations: 0 / 0.5266 GB, free: 12.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.1674, allocations: 39.94 kB / 0.5266 GB, free: 12.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.002558/0.17, allocations: 1.318 MB / 0.5279 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.1703, allocations: 123.8 kB / 0.528 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1703, allocations: 0 / 0.528 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1705, allocations: 59.91 kB / 0.5281 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.171, allocations: 53.39 kB / 0.5281 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003485/0.1745, allocations: 2.784 MB / 0.5309 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.1747, allocations: 165.5 kB / 0.531 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.946e-05/0.1748, allocations: 37.59 kB / 0.5311 GB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.1749, allocations: 91.39 kB / 0.5311 GB, free: 8.129 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1749, allocations: 0 / 0.5311 GB, free: 8.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.2048, allocations: 6.519 MB / 0.5375 GB, free: 1.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.89, allocations: 11.83 kB / 0.5375 GB, free: 1.473 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.871796607039869]