Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001348/0.001348, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001519/0.001519, allocations: 213.3 kB / 23.78 MB, free: 4.523 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.808/1.808, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2585/0.2585, allocations: 44.26 MB / 331.1 MB, free: 9.301 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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.004059/0.004059, allocations: 78.55 kB / 468.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.164, allocations: 61.03 MB / 0.517 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004362/0.1684, allocations: 1.811 MB / 0.5187 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1703, allocations: 0.8674 MB / 0.5196 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1705, allocations: 7.938 kB / 0.5196 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.1711, allocations: 219.4 kB / 0.5198 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004581/0.1716, allocations: 175.4 kB / 0.52 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.1721, allocations: 151.6 kB / 0.5201 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004094/0.1725, allocations: 227.3 kB / 0.5203 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1726, allocations: 21.72 kB / 0.5204 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1728, allocations: 107.6 kB / 0.5205 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.173, allocations: 167.5 kB / 0.5206 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.173, allocations: 8 kB / 0.5206 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1732, allocations: 51.91 kB / 0.5207 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1733, allocations: 59.78 kB / 0.5207 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.115e-05/0.1733, allocations: 67.47 kB / 0.5208 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.1737, allocations: 215 kB / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1737, allocations: 0 / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1737, allocations: 0 / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1737, allocations: 0 / 0.521 GB, free: 2.961 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.0008387/0.1746, allocations: 480.5 kB / 0.5215 GB, free: 2.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1746, allocations: 12.02 kB / 0.5215 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.272e-05/0.1746, allocations: 4.188 kB / 0.5215 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.1747, allocations: 30.75 kB / 0.5215 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.855e-05/0.1747, allocations: 28.75 kB / 0.5215 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.1752, allocations: 222.5 kB / 0.5217 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1752, allocations: 8.125 kB / 0.5218 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.1752, allocations: 7.938 kB / 0.5218 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.1755, allocations: 99.34 kB / 0.5219 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1755, allocations: 4 kB / 0.5219 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1755, allocations: 0 / 0.5219 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1755, allocations: 3.938 kB / 0.5219 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1757, allocations: 43.97 kB / 0.5219 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006658/0.1763, allocations: 419.9 kB / 0.5223 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.1767, allocations: 117.3 kB / 0.5224 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.1768, allocations: 41.69 kB / 0.5225 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1769, allocations: 0 / 0.5225 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.1771, allocations: 117 kB / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1771, allocations: 0 / 0.5226 GB, free: 1.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001025/0.1782, allocations: 396.5 kB / 0.5229 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.1782, allocations: 77.11 kB / 0.523 GB, free: 0.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.1787, allocations: 436.5 kB / 0.5234 GB, free: 272 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1787, allocations: 33.64 kB / 0.5235 GB, free: 232 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1789, allocations: 152.3 kB / 0.5236 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.1789, allocations: 51.62 kB / 0.5237 GB, free: 24 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.179, allocations: 37.78 kB / 0.5237 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1792, allocations: 346.8 kB / 0.524 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1793, allocations: 43.97 kB / 0.5241 GB, free: 15.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1794, allocations: 71.41 kB / 0.5241 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.1797, allocations: 123.4 kB / 0.5243 GB, free: 15.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1797, allocations: 0 / 0.5243 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000359/0.18, allocations: 189.3 kB / 0.5244 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1801, allocations: 4 kB / 0.5244 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1801, allocations: 4 kB / 0.5244 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1801, allocations: 3.938 kB / 0.5244 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1802, allocations: 35.98 kB / 0.5245 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1802, allocations: 4.312 kB / 0.5245 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.673e-05/0.1803, allocations: 11.98 kB / 0.5245 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.1803, allocations: 11.98 kB / 0.5245 GB, free: 15.11 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.0001744/0.1805, allocations: 165.7 kB / 0.5247 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.1806, allocations: 39.69 kB / 0.5247 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.1811, allocations: 220.2 kB / 0.5249 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.1811, allocations: 7.938 kB / 0.5249 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1811, allocations: 0 / 0.5249 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1811, allocations: 4 kB / 0.5249 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008762/0.1819, allocations: 0.5999 MB / 0.5255 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.182, allocations: 0 / 0.5255 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.182, allocations: 27.94 kB / 0.5255 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.182, allocations: 0 / 0.5255 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.182, allocations: 8.734 kB / 0.5255 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.182, allocations: 0 / 0.5255 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1821, allocations: 4 kB / 0.5255 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.1825, allocations: 392.2 kB / 0.5259 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.1826, allocations: 19.86 kB / 0.5259 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.1826, allocations: 11.98 kB / 0.526 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1828, allocations: 8 kB / 0.526 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.1828, allocations: 20.16 kB / 0.526 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.1828, allocations: 4 kB / 0.526 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003718/0.1832, allocations: 335 kB / 0.5263 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1832, allocations: 0 / 0.5263 GB, free: 13.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003363/0.1836, allocations: 39.94 kB / 0.5263 GB, free: 13.14 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.002634/0.1862, allocations: 1.316 MB / 0.5276 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003641/0.1865, allocations: 123.8 kB / 0.5277 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1866, allocations: 128 / 0.5277 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1867, allocations: 59.92 kB / 0.5278 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005701/0.1873, allocations: 49.05 kB / 0.5278 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.1907, allocations: 2.661 MB / 0.5304 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.1909, allocations: 164.9 kB / 0.5306 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.074e-05/0.191, allocations: 26.25 kB / 0.5306 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1911, allocations: 83.41 kB / 0.5307 GB, free: 8.543 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1911, allocations: 0 / 0.5307 GB, free: 8.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.2224, allocations: 6.292 MB / 0.5369 GB, free: 2.129 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.77, allocations: 15.77 kB / 0.5369 GB, free: 2.113 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.637264674995095]