Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.001428/0.001428, allocations: 110.2 kB / 19.69 MB, free: 2.203 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.001581/0.001581, allocations: 222.5 kB / 23.01 MB, free: 5.039 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.499/1.499, allocations: 207.6 MB / 233.8 MB, free: 9.969 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.2161/0.2161, allocations: 44.23 MB / 330.3 MB, free: 9.496 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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",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.003509/0.003509, allocations: 67.91 kB / 467.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1451, allocations: 61.05 MB / 0.5162 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003788/0.1489, allocations: 1.715 MB / 0.5179 GB, free: 5.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1505, allocations: 0.8313 MB / 0.5187 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.1506, allocations: 7.938 kB / 0.5187 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.1509, allocations: 79.77 kB / 0.5188 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.1512, allocations: 71.66 kB / 0.5188 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.1516, allocations: 87.77 kB / 0.5189 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.1518, allocations: 107.7 kB / 0.519 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.1519, allocations: 8.219 kB / 0.519 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.152, allocations: 63.75 kB / 0.5191 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1522, allocations: 63.7 kB / 0.5192 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1522, allocations: 4 kB / 0.5192 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1523, allocations: 47.97 kB / 0.5192 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.1524, allocations: 23.86 kB / 0.5192 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.089e-05/0.1524, allocations: 35.73 kB / 0.5193 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.1527, allocations: 115.6 kB / 0.5194 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1527, allocations: 0 / 0.5194 GB, free: 3.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1527, allocations: 0 / 0.5194 GB, free: 3.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1527, allocations: 0 / 0.5194 GB, free: 3.973 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006288/0.1533, allocations: 353.5 kB / 0.5197 GB, free: 3.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1534, allocations: 8.031 kB / 0.5197 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.042e-05/0.1534, allocations: 34.75 kB / 0.5198 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.1535, allocations: 16.78 kB / 0.5198 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.1538, allocations: 151.3 kB / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1538, allocations: 384 / 0.5199 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.1538, allocations: 11.92 kB / 0.5199 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.154, allocations: 53.67 kB / 0.52 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.154, allocations: 0 / 0.52 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.154, allocations: 4 kB / 0.52 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.154, allocations: 3.938 kB / 0.52 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.596e-05/0.1541, allocations: 19.98 kB / 0.52 GB, free: 3.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.1545, allocations: 267.9 kB / 0.5203 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.1547, allocations: 46.69 kB / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.102e-05/0.1548, allocations: 28.78 kB / 0.5203 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1548, allocations: 0 / 0.5203 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.155, allocations: 67.39 kB / 0.5204 GB, free: 2.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.155, allocations: 0 / 0.5204 GB, free: 2.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005861/0.1556, allocations: 177.6 kB / 0.5206 GB, free: 2.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1556, allocations: 55.41 kB / 0.5206 GB, free: 2.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.1558, allocations: 222.2 kB / 0.5208 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1558, allocations: 25.7 kB / 0.5209 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.1559, allocations: 104.1 kB / 0.521 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.1559, allocations: 27.78 kB / 0.521 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.156, allocations: 21.72 kB / 0.521 GB, free: 2.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1561, allocations: 326.8 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.157e-05/0.1562, allocations: 19.98 kB / 0.5213 GB, free: 1.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.1563, allocations: 37.77 kB / 0.5214 GB, free: 1.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1564, allocations: 77.7 kB / 0.5214 GB, free: 1.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1564, allocations: 0 / 0.5214 GB, free: 1.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002058/0.1566, allocations: 101.5 kB / 0.5215 GB, free: 1.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1566, allocations: 8 kB / 0.5216 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1566, allocations: 0 / 0.5216 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1567, allocations: 0 / 0.5216 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1568, allocations: 15.98 kB / 0.5216 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1568, allocations: 8.031 kB / 0.5216 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.255e-05/0.1568, allocations: 7.938 kB / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1568, allocations: 7.938 kB / 0.5216 GB, free: 1.504 MB / 398.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.0001516/0.157, allocations: 129.8 kB / 0.5217 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.157, allocations: 7.953 kB / 0.5217 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.1573, allocations: 115 kB / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1573, allocations: 4 kB / 0.5218 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1573, allocations: 0 / 0.5218 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1573, allocations: 7.938 kB / 0.5218 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.1578, allocations: 362.4 kB / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1578, allocations: 0 / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.1578, allocations: 11.98 kB / 0.5222 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1578, allocations: 3.938 kB / 0.5222 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1579, allocations: 8 kB / 0.5222 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1579, allocations: 0 / 0.5222 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1579, allocations: 0 / 0.5222 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1581, allocations: 204.3 kB / 0.5224 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.1582, allocations: 15.94 kB / 0.5224 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.1582, allocations: 11.92 kB / 0.5224 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.1583, allocations: 0 / 0.5224 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1583, allocations: 4 kB / 0.5224 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1583, allocations: 7.984 kB / 0.5224 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1585, allocations: 164.2 kB / 0.5226 GB, free: 384 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1585, allocations: 0 / 0.5226 GB, free: 384 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1587, allocations: 23.94 kB / 0.5226 GB, free: 360 kB / 398.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.002266/0.161, allocations: 1.102 MB / 0.5237 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.1612, allocations: 55.91 kB / 0.5238 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1612, allocations: 0 / 0.5238 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.1613, allocations: 27.98 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1616, allocations: 35.97 kB / 0.5238 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.1638, allocations: 1.681 MB / 0.5255 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1641, allocations: 0.7041 MB / 0.5261 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.742e-05/0.1642, allocations: 24.88 kB / 0.5262 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.1643, allocations: 35.42 kB / 0.5262 GB, free: 12.6 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1643, allocations: 0 / 0.5262 GB, free: 12.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03401/0.1983, allocations: 3.661 MB / 0.5298 GB, free: 8.844 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.13, allocations: 3.906 kB / 0.5298 GB, free: 8.84 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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: 14.409482874907553]