Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.001455/0.001455, 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.00162/0.00162, allocations: 222.8 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.509/1.509, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.2511/0.2511, allocations: 44.24 MB / 330.3 MB, free: 9.516 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.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41",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.002697/0.002697, allocations: 67.91 kB / 467.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.142, allocations: 61.04 MB / 0.5162 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004572/0.1466, allocations: 1.726 MB / 0.5179 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.1481, allocations: 0.8273 MB / 0.5187 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.672e-05/0.1482, allocations: 0 / 0.5187 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004805/0.1487, allocations: 91.67 kB / 0.5188 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.149, allocations: 67.73 kB / 0.5188 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.1494, allocations: 91.69 kB / 0.5189 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1496, allocations: 111.6 kB / 0.519 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1497, allocations: 8.219 kB / 0.519 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1499, allocations: 59.75 kB / 0.5191 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.15, allocations: 67.75 kB / 0.5192 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.1501, allocations: 4 kB / 0.5192 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.1502, allocations: 39.98 kB / 0.5192 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.257e-05/0.1503, allocations: 23.86 kB / 0.5192 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.99e-05/0.1504, allocations: 43.66 kB / 0.5193 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.1507, allocations: 115.6 kB / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1507, allocations: 0 / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1507, allocations: 0 / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1507, 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.0006859/0.1514, allocations: 349.6 kB / 0.5197 GB, free: 3.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1514, allocations: 12.03 kB / 0.5197 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.1515, allocations: 30.75 kB / 0.5198 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.1515, allocations: 12.84 kB / 0.5198 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.1519, allocations: 159.2 kB / 0.5199 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1519, allocations: 4.375 kB / 0.5199 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1519, allocations: 3.938 kB / 0.5199 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1521, allocations: 53.67 kB / 0.52 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1521, allocations: 0 / 0.52 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1521, allocations: 4 kB / 0.52 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1521, allocations: 4 kB / 0.52 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.1522, allocations: 15.98 kB / 0.52 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.1528, allocations: 267.9 kB / 0.5203 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.153, allocations: 54.61 kB / 0.5203 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.1531, allocations: 24.84 kB / 0.5203 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.1531, allocations: 4 kB / 0.5203 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.1533, allocations: 63.39 kB / 0.5204 GB, free: 2.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1533, allocations: 0 / 0.5204 GB, free: 2.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006141/0.1539, allocations: 177.7 kB / 0.5206 GB, free: 2.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.1539, allocations: 55.41 kB / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.1542, allocations: 218.2 kB / 0.5208 GB, free: 2.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1542, allocations: 25.7 kB / 0.5209 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.1543, allocations: 108.1 kB / 0.521 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.1543, allocations: 27.78 kB / 0.521 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.1544, allocations: 21.66 kB / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1545, allocations: 326.8 kB / 0.5213 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.1546, allocations: 24.05 kB / 0.5213 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1547, allocations: 41.64 kB / 0.5214 GB, free: 1.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.1548, allocations: 65.77 kB / 0.5214 GB, free: 1.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1548, allocations: 0 / 0.5214 GB, free: 1.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003017/0.1551, allocations: 105.5 kB / 0.5215 GB, free: 1.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1552, allocations: 4 kB / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1552, allocations: 0 / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1552, allocations: 0 / 0.5215 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1553, allocations: 19.98 kB / 0.5216 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1553, allocations: 7.969 kB / 0.5216 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.1553, allocations: 7.938 kB / 0.5216 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1553, allocations: 4 kB / 0.5216 GB, free: 1.531 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.0001252/0.1555, allocations: 137.8 kB / 0.5217 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.1555, allocations: 7.953 kB / 0.5217 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.1558, allocations: 115 kB / 0.5218 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1558, allocations: 0 / 0.5218 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.1558, allocations: 0 / 0.5218 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1558, allocations: 3.938 kB / 0.5218 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000563/0.1563, allocations: 366.4 kB / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1563, allocations: 0 / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.1564, allocations: 11.94 kB / 0.5222 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.1564, allocations: 7.938 kB / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1564, allocations: 7.984 kB / 0.5222 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1564, allocations: 0 / 0.5222 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1564, allocations: 0 / 0.5222 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00027/0.1567, allocations: 208.3 kB / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.1567, allocations: 7.953 kB / 0.5224 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.1567, allocations: 7.938 kB / 0.5224 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.1568, allocations: 3.984 kB / 0.5224 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.1568, allocations: 4 kB / 0.5224 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1568, allocations: 7.938 kB / 0.5224 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.157, allocations: 168.2 kB / 0.5226 GB, free: 404 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.157, allocations: 0 / 0.5226 GB, free: 404 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.1573, allocations: 23.94 kB / 0.5226 GB, free: 380 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.002366/0.1597, allocations: 1.098 MB / 0.5237 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1599, allocations: 51.92 kB / 0.5238 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1599, allocations: 0 / 0.5238 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.16, allocations: 31.92 kB / 0.5238 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1603, allocations: 31.98 kB / 0.5238 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.1625, allocations: 1.689 MB / 0.5255 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.1629, allocations: 0.7041 MB / 0.5261 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.502e-05/0.163, allocations: 28.88 kB / 0.5262 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.415e-05/0.163, allocations: 31.42 kB / 0.5262 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.163, allocations: 4 kB / 0.5262 GB, free: 12.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.1965, allocations: 3.654 MB / 0.5298 GB, free: 8.859 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.35, allocations: 11.91 kB / 0.5298 GB, free: 8.848 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test41.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.687050395878032]