Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001316/0.001316, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001485/0.001485, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.534/1.534, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2366/0.2366, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 79.88 kB / 0.4913 GB, free: 8.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1343, allocations: 66 MB / 0.5558 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003482/0.1378, allocations: 1.95 MB / 0.5577 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1396, allocations: 1.067 MB / 0.5587 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.1397, allocations: 8 kB / 0.5587 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.14, allocations: 47.64 kB / 0.5588 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.1403, allocations: 99.53 kB / 0.5588 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.1405, allocations: 91.66 kB / 0.5589 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.1407, allocations: 151.5 kB / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1408, allocations: 17.56 kB / 0.5591 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1409, allocations: 59.72 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.141, allocations: 55.62 kB / 0.5592 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1411, allocations: 12 kB / 0.5592 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.85e-05/0.1412, allocations: 47.98 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.1412, allocations: 19.92 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.1413, allocations: 59.59 kB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.1415, allocations: 151.3 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1415, allocations: 0 / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.949e-06/0.1416, allocations: 3.984 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1416, allocations: 0 / 0.5595 GB, free: 2.281 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006877/0.1422, allocations: 488.1 kB / 0.56 GB, free: 1.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1423, allocations: 12.03 kB / 0.56 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.1423, allocations: 38.75 kB / 0.56 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.1424, allocations: 20.83 kB / 0.56 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1427, allocations: 236.8 kB / 0.5602 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1427, allocations: 4.312 kB / 0.5603 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1427, allocations: 8.375 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.143, allocations: 114 kB / 0.5604 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.143, allocations: 0 / 0.5604 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.143, allocations: 7.938 kB / 0.5604 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.143, allocations: 4 kB / 0.5604 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1432, allocations: 43.91 kB / 0.5604 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.1438, allocations: 0.5088 MB / 0.5609 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.1441, allocations: 86.64 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.1442, allocations: 32.84 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1442, allocations: 3.938 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.1445, allocations: 95.3 kB / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1445, allocations: 0 / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000395/0.1449, allocations: 141.5 kB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.1449, allocations: 55.41 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1451, allocations: 202.2 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1451, allocations: 25.7 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.805e-05/0.1452, allocations: 124 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.1453, allocations: 31.73 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.1453, allocations: 29.7 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1455, allocations: 322.8 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.1456, allocations: 27.98 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1457, allocations: 76.39 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.1459, allocations: 100.1 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1459, allocations: 4 kB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002834/0.1462, allocations: 137.8 kB / 0.5623 GB, free: 15.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1462, allocations: 4.094 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1462, allocations: 3.938 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1462, allocations: 7.984 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.83e-05/0.1463, allocations: 20 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1463, allocations: 3.938 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.1464, allocations: 15.88 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1464, allocations: 8 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001154/0.1465, allocations: 133.9 kB / 0.5625 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1465, allocations: 15.89 kB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.1466, allocations: 13.41 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1466, allocations: 4 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1466, allocations: 3.938 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1466, allocations: 0 / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.1468, allocations: 213.6 kB / 0.5628 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1468, allocations: 3.938 kB / 0.5628 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.1469, allocations: 12 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1469, allocations: 4 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1469, allocations: 4 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1469, allocations: 3.938 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1469, allocations: 7.938 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.1473, allocations: 180.9 kB / 0.563 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/0.1474, allocations: 89.05 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.1474, allocations: 64 / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.1474, allocations: 11.98 kB / 0.5631 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.1475, allocations: 11.94 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.1475, allocations: 3.984 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.1476, allocations: 148.4 kB / 0.5632 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1476, allocations: 0 / 0.5632 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1479, allocations: 27.94 kB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002048/0.1499, allocations: 1.005 MB / 0.5642 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002575/0.1502, allocations: 83.83 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1502, allocations: 0 / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.1503, allocations: 40.16 kB / 0.5644 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1506, allocations: 47.64 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.1528, allocations: 1.763 MB / 0.5661 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1531, allocations: 0.7161 MB / 0.5668 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.708e-05/0.1532, allocations: 25.41 kB / 0.5669 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.1533, allocations: 39.42 kB / 0.5669 GB, free: 10.3 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1533, allocations: 0 / 0.5669 GB, free: 10.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.1806, allocations: 3.838 MB / 0.5706 GB, free: 6.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.277, allocations: 6.75 kB / 0.5706 GB, free: 6.523 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.447027394548059]