Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.001329/0.001329, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.001404/0.001404, allocations: 215.7 kB / 23 MB, free: 5.004 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.467/1.467, allocations: 207.6 MB / 233.8 MB, free: 10 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.2248/0.2248, allocations: 44.25 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.002266/0.002266, allocations: 70.56 kB / 467.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1376, allocations: 61.05 MB / 0.5162 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003941/0.1415, allocations: 1.719 MB / 0.5179 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1433, allocations: 0.8311 MB / 0.5187 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1434, allocations: 0 / 0.5187 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.1438, allocations: 91.69 kB / 0.5188 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.144, allocations: 71.73 kB / 0.5189 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1444, allocations: 87.75 kB / 0.5189 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1446, allocations: 107.6 kB / 0.519 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1447, allocations: 16.2 kB / 0.5191 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1448, allocations: 55.77 kB / 0.5191 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.145, allocations: 59.8 kB / 0.5192 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.145, allocations: 4 kB / 0.5192 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1451, allocations: 40 kB / 0.5192 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.1452, allocations: 23.91 kB / 0.5192 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.967e-05/0.1452, allocations: 47.61 kB / 0.5193 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1455, allocations: 115.6 kB / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1455, allocations: 0 / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1455, allocations: 0 / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1455, allocations: 0 / 0.5194 GB, free: 3.992 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.0005872/0.1461, allocations: 345.6 kB / 0.5197 GB, free: 3.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1461, allocations: 8.031 kB / 0.5197 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.1462, allocations: 30.75 kB / 0.5198 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.1462, allocations: 20.84 kB / 0.5198 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1465, allocations: 159.2 kB / 0.5199 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1465, allocations: 4.359 kB / 0.5199 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1466, allocations: 11.94 kB / 0.5199 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1467, allocations: 49.67 kB / 0.52 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1467, allocations: 0 / 0.52 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1468, allocations: 4 kB / 0.52 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1468, allocations: 0 / 0.52 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.783e-05/0.1468, allocations: 19.98 kB / 0.52 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.1473, allocations: 263.9 kB / 0.5203 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1474, allocations: 54.62 kB / 0.5203 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.1475, allocations: 20.84 kB / 0.5203 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1475, allocations: 0 / 0.5203 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.1477, allocations: 67.39 kB / 0.5204 GB, free: 2.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1477, allocations: 4 kB / 0.5204 GB, free: 2.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006308/0.1484, allocations: 177.3 kB / 0.5206 GB, free: 2.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.1484, allocations: 51.41 kB / 0.5206 GB, free: 2.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1487, allocations: 218.2 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1487, allocations: 29.7 kB / 0.5209 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.1488, allocations: 100.1 kB / 0.521 GB, free: 2.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.1488, allocations: 27.78 kB / 0.521 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.1489, allocations: 33.59 kB / 0.521 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.149, allocations: 326.8 kB / 0.5213 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.1491, allocations: 19.98 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.071e-05/0.1492, allocations: 33.7 kB / 0.5214 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1493, allocations: 61.69 kB / 0.5214 GB, free: 1.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1493, allocations: 384 / 0.5214 GB, free: 1.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00021/0.1495, allocations: 109.5 kB / 0.5215 GB, free: 1.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1495, allocations: 4 kB / 0.5215 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1495, allocations: 0 / 0.5215 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1495, allocations: 4 kB / 0.5215 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.1496, allocations: 19.98 kB / 0.5216 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.1496, allocations: 8.078 kB / 0.5216 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.1497, allocations: 7.938 kB / 0.5216 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1497, allocations: 0 / 0.5216 GB, free: 1.539 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.0001304/0.1498, allocations: 129.9 kB / 0.5217 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1498, allocations: 15.95 kB / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.1501, allocations: 115 kB / 0.5218 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1501, allocations: 0 / 0.5218 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1501, allocations: 4 kB / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1501, allocations: 3.938 kB / 0.5218 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.1506, allocations: 366.4 kB / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1506, allocations: 0 / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.1507, allocations: 19.95 kB / 0.5222 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1507, allocations: 3.938 kB / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1507, allocations: 0 / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1507, allocations: 4 kB / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1507, allocations: 0 / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.151, allocations: 204.3 kB / 0.5224 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.151, allocations: 7.953 kB / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.151, allocations: 15.91 kB / 0.5224 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.1511, allocations: 4 kB / 0.5224 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1511, allocations: 11.98 kB / 0.5224 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1511, allocations: 3.938 kB / 0.5225 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1513, allocations: 160.2 kB / 0.5226 GB, free: 408 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1513, allocations: 0 / 0.5226 GB, free: 408 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.1516, allocations: 23.94 kB / 0.5226 GB, free: 384 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.002397/0.154, allocations: 1.102 MB / 0.5237 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002012/0.1542, allocations: 55.92 kB / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1542, allocations: 0 / 0.5238 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.714e-05/0.1543, allocations: 27.92 kB / 0.5238 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1546, allocations: 31.91 kB / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.1571, allocations: 1.689 MB / 0.5255 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.1575, allocations: 0.7041 MB / 0.5261 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.771e-05/0.1576, allocations: 16.58 kB / 0.5262 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.1576, allocations: 35.42 kB / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1576, allocations: 0 / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.1887, allocations: 3.658 MB / 0.5298 GB, free: 8.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.43, allocations: 7.969 kB / 0.5298 GB, free: 8.867 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.76158112497069]