Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001295/0.001295, allocations: 104.5 kB / 16.4 MB, free: 6.465 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.001383/0.001383, allocations: 188.1 kB / 17.34 MB, free: 5.723 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.737/1.737, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2283/0.2283, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001729/0.001729, allocations: 68.38 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1394, allocations: 57.8 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.005328/0.1448, allocations: 1.852 MB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.1476, allocations: 0.8974 MB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.1478, allocations: 7.938 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.1485, allocations: 155.5 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004293/0.149, allocations: 135.5 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.1495, allocations: 151.6 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.1499, allocations: 219.4 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1501, allocations: 21.53 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.1503, allocations: 99.66 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1506, allocations: 131.5 kB / 0.491 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.1506, allocations: 4 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1508, allocations: 43.98 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.873e-05/0.1509, allocations: 47.83 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.151, allocations: 79.36 kB / 0.4912 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1513, allocations: 187.4 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1513, allocations: 0 / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1514, allocations: 4 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1514, allocations: 0 / 0.4914 GB, free: 8.203 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008112/0.1522, allocations: 0.5138 MB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1522, allocations: 11.89 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.188e-05/0.1523, allocations: 38.75 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.1524, allocations: 20.66 kB / 0.492 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.153, allocations: 271.5 kB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.153, allocations: 8.375 kB / 0.4922 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.1531, allocations: 7.938 kB / 0.4922 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.1533, allocations: 103.3 kB / 0.4923 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.1533, allocations: 0 / 0.4923 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.1533, allocations: 0 / 0.4923 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1534, allocations: 4 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.1535, allocations: 43.91 kB / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.1541, allocations: 432.9 kB / 0.4928 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.1544, allocations: 125.3 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.421e-05/0.1545, allocations: 37.7 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1546, allocations: 8 kB / 0.4929 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002629/0.1548, allocations: 113 kB / 0.4931 GB, free: 6.281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.1548, allocations: 0 / 0.4931 GB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009742/0.1558, allocations: 356.6 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.1559, allocations: 89.05 kB / 0.4935 GB, free: 5.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.1562, allocations: 351 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1563, allocations: 33.7 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.1564, allocations: 132.4 kB / 0.494 GB, free: 5.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.203e-05/0.1564, allocations: 55.28 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.1565, allocations: 37.7 kB / 0.4941 GB, free: 5.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1567, allocations: 334.8 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1568, allocations: 51.91 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.1569, allocations: 71.53 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.1572, allocations: 119.4 kB / 0.4946 GB, free: 4.598 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1572, allocations: 0 / 0.4946 GB, free: 4.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000327/0.1575, allocations: 185.2 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1575, allocations: 4 kB / 0.4948 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1575, allocations: 4 kB / 0.4948 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1576, allocations: 3.938 kB / 0.4948 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1577, allocations: 35.92 kB / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1577, allocations: 0 / 0.4948 GB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.879e-05/0.1578, allocations: 8 kB / 0.4948 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.1578, allocations: 4 kB / 0.4948 GB, free: 4.352 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001343/0.158, allocations: 161.8 kB / 0.495 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.158, allocations: 27.62 kB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.1581, allocations: 33.73 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1581, allocations: 7.938 kB / 0.4951 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1581, allocations: 0 / 0.4951 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1581, allocations: 0 / 0.4951 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007418/0.1589, allocations: 0.6167 MB / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.1589, allocations: 0 / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.1589, allocations: 16 kB / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1589, allocations: 0 / 0.4957 GB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.159, allocations: 7.984 kB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.159, allocations: 7.938 kB / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.159, allocations: 0 / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.1594, allocations: 371.8 kB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.1595, allocations: 92.83 kB / 0.4961 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.1595, allocations: 4 kB / 0.4961 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1596, allocations: 11.98 kB / 0.4962 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.1597, allocations: 11.92 kB / 0.4962 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.1597, allocations: 12 kB / 0.4962 GB, free: 2.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002471/0.16, allocations: 265.9 kB / 0.4964 GB, free: 2.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.16, allocations: 0 / 0.4964 GB, free: 2.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.1603, allocations: 40 kB / 0.4965 GB, free: 2.578 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001843/0.1622, allocations: 1.264 MB / 0.4977 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.1626, allocations: 115.9 kB / 0.4978 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1626, allocations: 4.125 kB / 0.4978 GB, free: 1.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1627, allocations: 55.92 kB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.1633, allocations: 61.39 kB / 0.4979 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003167/0.1665, allocations: 2.454 MB / 0.5003 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1669, allocations: 0.7515 MB / 0.5011 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.644e-05/0.167, allocations: 25.94 kB / 0.5011 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.1671, allocations: 79.34 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1671, allocations: 4 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.1911, allocations: 5.486 MB / 0.5065 GB, free: 8.121 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/7.94, allocations: 4 kB / 0.5065 GB, free: 8.117 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches