Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.001582/0.001582, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001663/0.001663, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2266/0.2266, allocations: 46.91 MB / 357.4 MB, free: 10.49 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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 81.62 kB / 0.4913 GB, free: 26.76 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1292, allocations: 65.98 MB / 0.5557 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003181/0.1324, allocations: 1.838 MB / 0.5575 GB, free: 7.184 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.1344, allocations: 1.112 MB / 0.5586 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.535e-05/0.1345, allocations: 0 / 0.5586 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005831/0.135, allocations: 307.2 kB / 0.5589 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.1356, allocations: 251.2 kB / 0.5592 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1358, allocations: 103.7 kB / 0.5593 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003522/0.1362, allocations: 259.2 kB / 0.5595 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.1362, allocations: 13.67 kB / 0.5595 GB, free: 5.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.1364, allocations: 127.6 kB / 0.5596 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000269/0.1367, allocations: 219.8 kB / 0.5599 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1367, allocations: 4 kB / 0.5599 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1368, allocations: 43.98 kB / 0.5599 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.137, allocations: 136.5 kB / 0.56 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.1371, allocations: 146.8 kB / 0.5602 GB, free: 4.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.1376, allocations: 374.5 kB / 0.5605 GB, free: 4.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1376, allocations: 0 / 0.5605 GB, free: 4.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1376, allocations: 0 / 0.5605 GB, free: 4.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.1376, allocations: 0 / 0.5605 GB, free: 4.117 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001114/0.1387, allocations: 0.7568 MB / 0.5613 GB, free: 3.312 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1388, allocations: 8.031 kB / 0.5613 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.188e-05/0.1388, allocations: 42.67 kB / 0.5613 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.1389, allocations: 52.61 kB / 0.5614 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007003/0.1396, allocations: 456.3 kB / 0.5618 GB, free: 2.719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1396, allocations: 4.375 kB / 0.5618 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1396, allocations: 384 / 0.5618 GB, free: 2.715 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1399, allocations: 95.47 kB / 0.5619 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1399, allocations: 0 / 0.5619 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1399, allocations: 0 / 0.5619 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1399, allocations: 0 / 0.5619 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.14, allocations: 31.92 kB / 0.5619 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.1404, allocations: 386.3 kB / 0.5623 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1407, allocations: 101.2 kB / 0.5624 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-05/0.1408, allocations: 37.7 kB / 0.5624 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1408, allocations: 4 kB / 0.5624 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.141, allocations: 109 kB / 0.5625 GB, free: 1.859 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.141, allocations: 0 / 0.5625 GB, free: 1.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004934/0.1415, allocations: 205.6 kB / 0.5627 GB, free: 1.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.1416, allocations: 89.05 kB / 0.5628 GB, free: 1.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.1428, allocations: 1.019 MB / 0.5638 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1428, allocations: 33.69 kB / 0.5638 GB, free: 488 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.143, allocations: 232.1 kB / 0.5641 GB, free: 252 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.1431, allocations: 27.78 kB / 0.5641 GB, free: 224 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.1431, allocations: 29.7 kB / 0.5641 GB, free: 188 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1433, allocations: 366.8 kB / 0.5645 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.043e-05/0.1434, allocations: 32.11 kB / 0.5645 GB, free: 15.79 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.1435, allocations: 57.3 kB / 0.5646 GB, free: 15.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1437, allocations: 91.34 kB / 0.5646 GB, free: 15.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1437, allocations: 0 / 0.5646 GB, free: 15.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003208/0.1441, allocations: 181.2 kB / 0.5648 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1441, allocations: 4 kB / 0.5648 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1441, allocations: 0 / 0.5648 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1441, allocations: 4 kB / 0.5648 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1442, allocations: 23.92 kB / 0.5648 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.1442, allocations: 4 kB / 0.5648 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.83e-05/0.1443, allocations: 15.94 kB / 0.5649 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1443, allocations: 4 kB / 0.5649 GB, free: 15.38 MB / 430.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002295/0.1446, allocations: 221.8 kB / 0.5651 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.1446, allocations: 59.59 kB / 0.5651 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.767e-05/0.1447, allocations: 60.03 kB / 0.5652 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1447, allocations: 4 kB / 0.5652 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1447, allocations: 0 / 0.5652 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1447, allocations: 0 / 0.5652 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.1451, allocations: 345.4 kB / 0.5655 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.1451, allocations: 8.062 kB / 0.5655 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.1451, allocations: 8 kB / 0.5655 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1451, allocations: 4 kB / 0.5655 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1451, allocations: 0 / 0.5655 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1451, allocations: 7.984 kB / 0.5655 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1451, allocations: 0 / 0.5655 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.1455, allocations: 205.5 kB / 0.5657 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.1457, allocations: 140.7 kB / 0.5659 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.1457, allocations: 4 kB / 0.5659 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.1458, allocations: 7.984 kB / 0.5659 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.1458, allocations: 8.094 kB / 0.5659 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.1459, allocations: 15.92 kB / 0.5659 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008572/0.1467, allocations: 0.7565 MB / 0.5667 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1467, allocations: 4 kB / 0.5667 GB, free: 13.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.147, allocations: 40 kB / 0.5667 GB, free: 13.4 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002064/0.1491, allocations: 1.047 MB / 0.5677 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1493, allocations: 75.91 kB / 0.5678 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1493, allocations: 0 / 0.5678 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.1494, allocations: 35.97 kB / 0.5678 GB, free: 12.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.1498, allocations: 72.73 kB / 0.5679 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005793/0.1556, allocations: 4.484 MB / 0.5723 GB, free: 7.707 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.1561, allocations: 0.8388 MB / 0.5731 GB, free: 6.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.1563, allocations: 55.45 kB / 0.5731 GB, free: 6.789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.1565, allocations: 151.4 kB / 0.5733 GB, free: 6.645 MB / 430.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1565, allocations: 0 / 0.5733 GB, free: 6.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.1884, allocations: 8.981 MB / 0.5821 GB, free: 13.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.738/8.927, allocations: 3.938 kB / 0.5821 GB, free: 13.71 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.11544681712985]