Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 108.9 kB / 15.98 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 191.7 kB / 16.91 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 222.8 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4051/0.4051, allocations: 43.49 MB / 313.6 MB, free: 8.281 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00166/0.001661, allocations: 67.91 kB / 382.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1397, allocations: 57.79 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003399/0.1431, allocations: 1.714 MB / 441.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1444, allocations: 0.7846 MB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.1445, allocations: 0 / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.1449, allocations: 43.84 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.1451, allocations: 55.8 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1453, allocations: 75.86 kB / 442.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1455, allocations: 95.7 kB / 442.9 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.236e-05/0.1456, allocations: 15.95 kB / 442.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.1457, allocations: 35.8 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.074e-05/0.1458, allocations: 31.86 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1458, allocations: 4 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.408e-05/0.1459, allocations: 31.97 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.1459, allocations: 27.86 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.146, allocations: 39.69 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1462, allocations: 115.9 kB / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1462, allocations: 7.938 kB / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1462, allocations: 0 / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1462, allocations: 0 / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005834/0.1468, allocations: 426.7 kB / 443.6 MB, free: 10.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1469, allocations: 15.89 kB / 443.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.1469, allocations: 38.73 kB / 443.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.147, allocations: 12.83 kB / 443.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1472, allocations: 227.7 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1472, allocations: 384 / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.1473, allocations: 7.875 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1474, allocations: 53.67 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1474, allocations: 0 / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1474, allocations: 0 / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1474, allocations: 0 / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.835e-05/0.1475, allocations: 8 kB / 443.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1477, allocations: 193.7 kB / 444.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1479, allocations: 66.48 kB / 444.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.1479, allocations: 16.86 kB / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.148, allocations: 0 / 444.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.1482, allocations: 63.3 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.1482, allocations: 0 / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002797/0.1485, allocations: 105.5 kB / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.1485, allocations: 55.34 kB / 444.4 MB, free: 9.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.1487, allocations: 255.7 kB / 444.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1488, allocations: 29.7 kB / 444.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.1488, allocations: 108.1 kB / 444.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.1489, allocations: 15.8 kB / 444.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.1489, allocations: 17.72 kB / 444.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.149, allocations: 330.8 kB / 445.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.928e-05/0.1491, allocations: 15.98 kB / 445.2 MB, free: 9.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.625e-05/0.1492, allocations: 29.7 kB / 445.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.1493, allocations: 41.66 kB / 445.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1493, allocations: 3.938 kB / 445.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001473/0.1494, allocations: 89.8 kB / 445.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1495, allocations: 8.031 kB / 445.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1495, allocations: 0 / 445.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1495, allocations: 4 kB / 445.4 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.1496, allocations: 11.94 kB / 445.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1496, allocations: 0 / 445.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.1496, allocations: 11.94 kB / 445.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1496, allocations: 3.984 kB / 445.4 MB, free: 8.828 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001029/0.1498, allocations: 133.8 kB / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.1498, allocations: 15.81 kB / 445.5 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.1498, allocations: 17 kB / 445.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1498, allocations: 0 / 445.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1498, allocations: 4 kB / 445.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1498, allocations: 0 / 445.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.15, allocations: 201.5 kB / 445.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.15, allocations: 0 / 445.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.15, allocations: 7.984 kB / 445.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.15, allocations: 0 / 445.8 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.1501, allocations: 3.938 kB / 445.8 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1501, allocations: 0 / 445.8 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1501, allocations: 0 / 445.8 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1503, allocations: 128.8 kB / 445.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.1503, allocations: 85.02 kB / 446 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.1503, allocations: 0 / 446 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.656e-05/0.1504, allocations: 0 / 446 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1504, allocations: 11.92 kB / 446 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.1504, allocations: 4 kB / 446 MB, free: 8.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.1506, allocations: 199 kB / 446.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1506, allocations: 4 kB / 446.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.1508, allocations: 20 kB / 446.2 MB, free: 7.914 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00129/0.1521, allocations: 0.9618 MB / 447.2 MB, free: 6.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.1523, allocations: 39.97 kB / 447.2 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1523, allocations: 4.062 kB / 447.2 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.84e-05/0.1524, allocations: 23.94 kB / 447.2 MB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1527, allocations: 31.83 kB / 447.3 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.1543, allocations: 1.674 MB / 448.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1546, allocations: 0.7119 MB / 449.7 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.138e-05/0.1547, allocations: 12.55 kB / 449.7 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.1547, allocations: 35.42 kB / 449.7 MB, free: 4.316 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1548, allocations: 4 kB / 449.7 MB, free: 4.312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.169, allocations: 3.22 MB / 452.9 MB, free: 1.074 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.1693, allocations: 238.8 kB / 453.2 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.186, allocations: 0 / 453.2 MB, free: 0.8164 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches