Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.9 MB / 357.4 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 87.52 kB / 0.4914 GB, free: 26.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1244, allocations: 65.98 MB / 0.5558 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.00392/0.1283, allocations: 2.283 MB / 0.558 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1306, allocations: 1.331 MB / 0.5593 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1307, allocations: 7.938 kB / 0.5593 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.1311, allocations: 119.3 kB / 0.5594 GB, free: 5.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005419/0.1317, allocations: 254.9 kB / 0.5597 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.1321, allocations: 183.5 kB / 0.5599 GB, free: 4.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.1326, allocations: 462.6 kB / 0.5603 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.1327, allocations: 49.28 kB / 0.5603 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00037/0.1331, allocations: 307 kB / 0.5606 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1333, allocations: 163.2 kB / 0.5608 GB, free: 3.867 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.1333, allocations: 20 kB / 0.5608 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.1335, allocations: 71.98 kB / 0.5609 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1337, allocations: 131.5 kB / 0.561 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1338, allocations: 186.5 kB / 0.5612 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005108/0.1343, allocations: 441.7 kB / 0.5616 GB, free: 3.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1343, allocations: 7.984 kB / 0.5616 GB, free: 3.023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1343, allocations: 0 / 0.5616 GB, free: 3.023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1343, allocations: 3.938 kB / 0.5616 GB, free: 3.02 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001151/0.1355, allocations: 0.832 MB / 0.5624 GB, free: 2.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1355, allocations: 8.031 kB / 0.5624 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.1356, allocations: 50.73 kB / 0.5625 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.1357, allocations: 64.45 kB / 0.5625 GB, free: 2.004 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.1363, allocations: 432.9 kB / 0.563 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1363, allocations: 16.38 kB / 0.563 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.1364, allocations: 16.33 kB / 0.563 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.1368, allocations: 197.1 kB / 0.5632 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1368, allocations: 0 / 0.5632 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1368, allocations: 11.94 kB / 0.5632 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1368, allocations: 4 kB / 0.5632 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.137, allocations: 87.92 kB / 0.5633 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009851/0.138, allocations: 0.8056 MB / 0.5641 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.1387, allocations: 238.5 kB / 0.5643 GB, free: 60 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.1389, allocations: 79.52 kB / 0.5644 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.1389, allocations: 4 kB / 0.5644 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003834/0.1393, allocations: 204.2 kB / 0.5646 GB, free: 15.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.1393, allocations: 0 / 0.5646 GB, free: 15.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.002583/0.1418, allocations: 1.152 MB / 0.5657 GB, free: 14.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.1419, allocations: 140.5 kB / 0.5658 GB, free: 14.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000921/0.1429, allocations: 0.7892 MB / 0.5666 GB, free: 13.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.491e-05/0.1429, allocations: 41.69 kB / 0.5666 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.1431, allocations: 245 kB / 0.5669 GB, free: 13.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1432, allocations: 142.8 kB / 0.567 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1434, allocations: 82.08 kB / 0.5671 GB, free: 13.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1436, allocations: 378.7 kB / 0.5674 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.1438, allocations: 112.8 kB / 0.5676 GB, free: 12.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.1441, allocations: 187.2 kB / 0.5677 GB, free: 12.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.1446, allocations: 322.8 kB / 0.568 GB, free: 12.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1446, allocations: 0 / 0.568 GB, free: 12.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007868/0.1454, allocations: 436.9 kB / 0.5685 GB, free: 11.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1454, allocations: 8 kB / 0.5685 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1454, allocations: 3.984 kB / 0.5685 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.1454, allocations: 4 kB / 0.5685 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.1457, allocations: 83.91 kB / 0.5686 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1457, allocations: 8.125 kB / 0.5686 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.1459, allocations: 15.98 kB / 0.5686 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.1459, allocations: 23.94 kB / 0.5686 GB, free: 11.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002808/0.1462, allocations: 227.9 kB / 0.5688 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1463, allocations: 79.52 kB / 0.5689 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.1465, allocations: 76.92 kB / 0.569 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1465, allocations: 4 kB / 0.569 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1465, allocations: 0 / 0.569 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.1465, allocations: 11.98 kB / 0.569 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/0.1483, allocations: 1.303 MB / 0.5703 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1483, allocations: 0 / 0.5703 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.1484, allocations: 59.91 kB / 0.5703 GB, free: 9.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.1484, allocations: 7.938 kB / 0.5703 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.1485, allocations: 19.98 kB / 0.5703 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.1485, allocations: 8 kB / 0.5703 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1485, allocations: 0 / 0.5703 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000931/0.1494, allocations: 0.8058 MB / 0.5711 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.1496, allocations: 168.6 kB / 0.5713 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.984e-05/0.1497, allocations: 19.98 kB / 0.5713 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.1499, allocations: 19.92 kB / 0.5713 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.946e-05/0.15, allocations: 47.84 kB / 0.5714 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.1501, allocations: 23.98 kB / 0.5714 GB, free: 8.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006217/0.1507, allocations: 0.581 MB / 0.572 GB, free: 7.875 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1507, allocations: 0 / 0.572 GB, free: 7.875 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005283/0.1512, allocations: 83.94 kB / 0.572 GB, free: 7.793 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003074/0.1543, allocations: 1.756 MB / 0.5738 GB, free: 6.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007529/0.1551, allocations: 303.7 kB / 0.574 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/0.1551, allocations: 4.25 kB / 0.5741 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.1555, allocations: 139.8 kB / 0.5742 GB, free: 5.754 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001595/0.1571, allocations: 126.4 kB / 0.5743 GB, free: 5.633 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009407/0.1665, allocations: 4.761 MB / 0.579 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/0.1673, allocations: 0.8976 MB / 0.5798 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.1677, allocations: 75.3 kB / 0.5799 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.1681, allocations: 191.4 kB / 0.5801 GB, free: 15.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/0.1681, allocations: 8 kB / 0.5801 GB, free: 15.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/0.2169, allocations: 10.88 MB / 0.5907 GB, free: 4.672 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.016/9.233, allocations: 21.33 kB / 0.5907 GB, free: 4.66 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88_fmu --startTime=0 --stopTime=9 --stepSize=0.00179784 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test88.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: 12.479664319660515]