Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001688/0.001688, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002012/0.002012, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 46.91 MB / 357.1 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.89 kB / 0.491 GB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.131, allocations: 65.99 MB / 0.5555 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00321/0.1342, allocations: 1.741 MB / 0.5572 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1361, allocations: 1.054 MB / 0.5582 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.1361, allocations: 0 / 0.5582 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.1364, allocations: 39.77 kB / 0.5582 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.1368, allocations: 95.53 kB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.137, allocations: 79.66 kB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1371, allocations: 107.7 kB / 0.5585 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.1372, allocations: 7.984 kB / 0.5585 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1373, allocations: 55.77 kB / 0.5586 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.156e-05/0.1374, allocations: 55.7 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1374, allocations: 4 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.1377, allocations: 111.9 kB / 0.5587 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.1377, allocations: 23.86 kB / 0.5587 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.1378, allocations: 35.8 kB / 0.5588 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1381, allocations: 167.4 kB / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1381, allocations: 0 / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1381, allocations: 0 / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.1381, allocations: 0 / 0.5589 GB, free: 2.203 MB / 414.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.0006138/0.1387, allocations: 446.5 kB / 0.5594 GB, free: 1.719 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1387, allocations: 16.03 kB / 0.5594 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.1388, allocations: 34.69 kB / 0.5594 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1388, allocations: 8.891 kB / 0.5594 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.1391, allocations: 208.2 kB / 0.5596 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1391, allocations: 8.359 kB / 0.5596 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.1392, allocations: 7.938 kB / 0.5596 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1393, allocations: 75.38 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1393, allocations: 4 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1394, allocations: 0 / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1394, allocations: 0 / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.1394, allocations: 23.92 kB / 0.5597 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.1398, allocations: 272.9 kB / 0.56 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.14, allocations: 66.55 kB / 0.5601 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.1401, allocations: 28.97 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.1401, allocations: 7.938 kB / 0.5601 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001648/0.1403, allocations: 71.36 kB / 0.5602 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.1403, allocations: 4 kB / 0.5602 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006125/0.1409, allocations: 201.2 kB / 0.5604 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.1409, allocations: 89.09 kB / 0.5604 GB, free: 468 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.1411, allocations: 173.2 kB / 0.5606 GB, free: 284 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1412, allocations: 33.7 kB / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.1412, allocations: 92.14 kB / 0.5607 GB, free: 148 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1413, allocations: 31.73 kB / 0.5608 GB, free: 116 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.796e-05/0.1413, allocations: 33.7 kB / 0.5608 GB, free: 76 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1415, allocations: 322.8 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.996e-05/0.1416, allocations: 31.98 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.184e-05/0.1417, allocations: 54.5 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1418, allocations: 73.7 kB / 0.5612 GB, free: 15.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1418, allocations: 4 kB / 0.5613 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000235/0.1421, allocations: 121.5 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.1421, allocations: 10.02 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1421, allocations: 4 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1421, allocations: 0 / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1422, allocations: 20.06 kB / 0.5614 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.1422, allocations: 3.938 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.1423, allocations: 7.984 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1423, allocations: 4 kB / 0.5614 GB, free: 15.4 MB / 430.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 (13): * Single equations (assignments): 13 * 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.0001139/0.1424, allocations: 125.8 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1424, allocations: 11.91 kB / 0.5615 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1425, allocations: 16.7 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1425, allocations: 0 / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1425, allocations: 3.938 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1425, allocations: 8 kB / 0.5616 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.1431, allocations: 423.2 kB / 0.562 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1431, allocations: 4.125 kB / 0.562 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.1431, allocations: 15.98 kB / 0.562 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1431, allocations: 3.938 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1431, allocations: 8 kB / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1431, allocations: 0 / 0.562 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1431, allocations: 4.031 kB / 0.562 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.1434, allocations: 220.3 kB / 0.5622 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.1435, allocations: 89 kB / 0.5623 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1435, allocations: 0 / 0.5623 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.1436, allocations: 4 kB / 0.5623 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.1436, allocations: 15.97 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1437, allocations: 8 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1438, allocations: 126.5 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1438, allocations: 0 / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000328/0.1441, allocations: 59.75 kB / 0.5625 GB, free: 14.18 MB / 430.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 (10): * Single equations (assignments): 8 * 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.002708/0.1468, allocations: 1.213 MB / 0.5637 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.1471, allocations: 75.84 kB / 0.5638 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1471, allocations: 0 / 0.5638 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.879e-05/0.1472, allocations: 35.98 kB / 0.5638 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.1475, allocations: 29.28 kB / 0.5638 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.1496, allocations: 1.666 MB / 0.5655 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.15, allocations: 0.7045 MB / 0.5661 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.952e-05/0.1501, allocations: 28.41 kB / 0.5662 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.739e-05/0.1502, allocations: 39.41 kB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1502, allocations: 0 / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.1772, allocations: 4.278 MB / 0.5704 GB, free: 6.195 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.212/8.39, allocations: 0 / 0.5704 GB, free: 6.195 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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: 11.564888552064076]