Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.001034/0.001035, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.0009572/0.0009572, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 241.8 MB, free: 13.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2165/0.2165, allocations: 44.18 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002512/0.002512, allocations: 69.33 kB / 407.8 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1435, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003645/0.1472, allocations: 1.749 MB / 470.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.1502, allocations: 1.44 MB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.1504, allocations: 3.938 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.1508, allocations: 47.83 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.1511, allocations: 47.83 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.1515, allocations: 83.84 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1517, allocations: 95.73 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1518, allocations: 8.234 kB / 472.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1519, allocations: 39.73 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.1521, allocations: 43.77 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.1521, allocations: 4 kB / 472.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.1523, allocations: 51.98 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.814e-05/0.1524, allocations: 19.97 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.1524, allocations: 31.73 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.1527, allocations: 119.9 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1527, allocations: 0 / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1528, allocations: 4 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1528, allocations: 0 / 472.4 MB, free: 10.91 MB / 350.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.0006161/0.1534, allocations: 395.2 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1534, allocations: 16.03 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.1535, allocations: 34.75 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.1535, allocations: 8.844 kB / 472.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.1538, allocations: 212 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1538, allocations: 4.375 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.1539, allocations: 7.875 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.154, allocations: 79.31 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1541, allocations: 0 / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1541, allocations: 4 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1541, allocations: 4 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.1542, allocations: 15.98 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.1546, allocations: 280.9 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1548, allocations: 54.62 kB / 473.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.1548, allocations: 24.84 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1549, allocations: 0 / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.1551, allocations: 67.39 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.734e-06/0.1551, allocations: 0 / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005985/0.1557, allocations: 185.1 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.1558, allocations: 77.11 kB / 473.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1559, allocations: 160.5 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1559, allocations: 29.7 kB / 474 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.156, allocations: 92.14 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.156, allocations: 31.62 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.1561, allocations: 25.66 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1562, allocations: 318.8 kB / 474.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.49e-05/0.1563, allocations: 23.98 kB / 474.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.1564, allocations: 46.56 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1565, allocations: 53.78 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1565, allocations: 0 / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.1567, allocations: 101.5 kB / 474.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1567, allocations: 10.34 kB / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1567, allocations: 0 / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1568, allocations: 0 / 474.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.1569, allocations: 20.42 kB / 474.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1569, allocations: 7.938 kB / 474.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.1569, allocations: 3.938 kB / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.157, allocations: 12 kB / 474.8 MB, free: 8.297 MB / 350.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.0001009/0.1571, allocations: 117.8 kB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.1571, allocations: 11.84 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.1572, allocations: 16.7 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1572, allocations: 0 / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.1572, allocations: 0 / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1572, allocations: 8.125 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.1576, allocations: 387.3 kB / 475.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1576, allocations: 7.922 kB / 475.3 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1577, allocations: 8 kB / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1577, allocations: 3.938 kB / 475.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1577, allocations: 4 kB / 475.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1577, allocations: 0 / 475.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1577, allocations: 0 / 475.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.158, allocations: 212.2 kB / 475.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.158, allocations: 89 kB / 475.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.1581, allocations: 3.938 kB / 475.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.585e-05/0.1581, allocations: 8 kB / 475.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.1582, allocations: 7.984 kB / 475.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1582, allocations: 4 kB / 475.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1583, allocations: 121.5 kB / 475.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1583, allocations: 0 / 475.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1586, allocations: 28 kB / 475.8 MB, free: 7.172 MB / 350.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.001567/0.1602, allocations: 1.135 MB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001827/0.1604, allocations: 63.91 kB / 477 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1604, allocations: 0 / 477 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.1605, allocations: 31.98 kB / 477 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1608, allocations: 27.62 kB / 477.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.1624, allocations: 1.557 MB / 478.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1627, allocations: 0.6926 MB / 479.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.973e-05/0.1628, allocations: 25.33 kB / 479.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.1629, allocations: 31.42 kB / 479.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1629, allocations: 0 / 479.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.1805, allocations: 3.293 MB / 482.6 MB, free: 496 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000292/0.1808, allocations: 250.8 kB / 482.9 MB, free: 224 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.05, allocations: 3.938 kB / 482.9 MB, free: 220 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches