Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21",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.001259/0.001259, allocations: 105.9 kB / 17.2 MB, free: 6.273 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.001087/0.001087, 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.548/1.548, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2444/0.2444, allocations: 44.18 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.72 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1343, allocations: 60.83 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00325/0.1376, allocations: 1.753 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.139, allocations: 0.8653 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.1391, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1394, allocations: 43.83 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1396, allocations: 43.83 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.1399, allocations: 99.7 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.1401, allocations: 87.77 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1402, allocations: 12.22 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.881e-05/0.1403, allocations: 47.77 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.1403, allocations: 27.8 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.1404, allocations: 4 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.554e-05/0.1405, allocations: 39.97 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.1405, allocations: 23.92 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.1406, allocations: 31.75 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1408, allocations: 107.9 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1408, allocations: 0 / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1408, allocations: 4 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.1408, allocations: 0 / 471.8 MB, free: 11.53 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.00052/0.1413, allocations: 415 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1414, allocations: 11.97 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.1414, allocations: 30.75 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.1415, allocations: 16.75 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.1417, allocations: 216 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1417, allocations: 4.375 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1418, allocations: 3.938 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1419, allocations: 53.67 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1419, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1419, allocations: 7.938 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.142, allocations: 0 / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.637e-05/0.142, allocations: 19.98 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.1424, allocations: 288.9 kB / 472.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1426, allocations: 54.67 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.1427, allocations: 28.78 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.1427, allocations: 0 / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.1429, allocations: 67.39 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.1429, allocations: 0 / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005446/0.1434, allocations: 173.2 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1435, allocations: 51.41 kB / 473.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1437, allocations: 186.1 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1437, allocations: 33.7 kB / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.1438, allocations: 104.1 kB / 473.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.1438, allocations: 27.69 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.1438, allocations: 21.72 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.144, allocations: 322.8 kB / 473.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.56e-05/0.144, allocations: 23.98 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.1441, allocations: 33.7 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.1442, allocations: 61.66 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1442, allocations: 4 kB / 474 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.1444, allocations: 101.4 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1445, allocations: 8 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1445, allocations: 0 / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1445, allocations: 0 / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.1446, allocations: 15.98 kB / 474.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1446, allocations: 4 kB / 474.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.1446, allocations: 3.938 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1447, allocations: 8.188 kB / 474.2 MB, free: 8.93 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 9.558e-05/0.1448, allocations: 125.9 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.1448, allocations: 11.84 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.1448, allocations: 20.66 kB / 474.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1448, allocations: 3.938 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1448, allocations: 0 / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1449, allocations: 3.938 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.1453, allocations: 391.4 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1453, allocations: 8.344 kB / 474.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.1453, allocations: 8 kB / 474.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1453, allocations: 3.938 kB / 474.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1454, allocations: 4 kB / 474.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1454, allocations: 4 kB / 474.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1454, allocations: 0 / 474.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1456, allocations: 204.4 kB / 474.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.1457, allocations: 89 kB / 475 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1457, allocations: 11.94 kB / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.1458, allocations: 0 / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.1458, allocations: 11.92 kB / 475 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1458, allocations: 4 kB / 475.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1459, allocations: 139.2 kB / 475.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1459, allocations: 4 kB / 475.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1462, allocations: 27.98 kB / 475.2 MB, free: 7.766 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.001399/0.1476, allocations: 1.1 MB / 476.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1478, allocations: 55.91 kB / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1478, allocations: 0 / 476.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.1479, allocations: 39.86 kB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1482, allocations: 19.98 kB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/0.15, allocations: 1.648 MB / 478.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.1502, allocations: 0.7083 MB / 478.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.739e-05/0.1503, allocations: 17.17 kB / 478.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.1504, allocations: 31.42 kB / 478.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1504, allocations: 0 / 478.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.1663, allocations: 3.133 MB / 482 MB, free: 1.156 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003552/0.1667, allocations: 236.3 kB / 482.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.091, allocations: 4 kB / 482.2 MB, free: 0.9023 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches