Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001562/0.001562, allocations: 118.6 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.002031/0.002031, 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.547/1.547, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.2372/0.2372, allocations: 46.89 MB / 357.4 MB, free: 10.46 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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 83.86 kB / 0.4913 GB, free: 8.223 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1375, allocations: 65.99 MB / 0.5558 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003855/0.1414, allocations: 1.946 MB / 0.5577 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1434, allocations: 1.067 MB / 0.5587 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.1435, allocations: 4 kB / 0.5587 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000356/0.1438, allocations: 43.7 kB / 0.5588 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003383/0.1442, allocations: 99.47 kB / 0.5588 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.1445, allocations: 107.6 kB / 0.559 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.1447, allocations: 143.5 kB / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1448, allocations: 21.55 kB / 0.5591 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.145, allocations: 63.7 kB / 0.5592 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1451, allocations: 47.72 kB / 0.5592 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.1451, allocations: 8 kB / 0.5592 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1453, allocations: 55.91 kB / 0.5593 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.1453, allocations: 19.92 kB / 0.5593 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.903e-05/0.1454, allocations: 55.61 kB / 0.5593 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1457, allocations: 155.3 kB / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1457, allocations: 0 / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1457, allocations: 0 / 0.5595 GB, free: 2.246 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1457, allocations: 0 / 0.5595 GB, free: 2.246 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.0007923/0.1465, allocations: 496.1 kB / 0.56 GB, free: 1.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1466, allocations: 8.031 kB / 0.56 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.1466, allocations: 42.73 kB / 0.56 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.1467, allocations: 16.84 kB / 0.56 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.1471, allocations: 232.9 kB / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1471, allocations: 8.25 kB / 0.5603 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1471, allocations: 8.375 kB / 0.5603 GB, free: 1.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.1473, allocations: 113.9 kB / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1474, allocations: 0 / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1474, allocations: 4 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1474, allocations: 7.938 kB / 0.5604 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1475, allocations: 45.91 kB / 0.5604 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/0.1482, allocations: 0.5088 MB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.1485, allocations: 78.67 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.1486, allocations: 40.83 kB / 0.561 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.1487, allocations: 0 / 0.561 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.1489, allocations: 87.31 kB / 0.5611 GB, free: 384 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1489, allocations: 0 / 0.5611 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004135/0.1493, allocations: 141.7 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.1493, allocations: 59.41 kB / 0.5613 GB, free: 164 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.1495, allocations: 202.2 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1496, allocations: 33.69 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/0.1497, allocations: 124 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.1497, allocations: 27.75 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.299e-05/0.1498, allocations: 29.7 kB / 0.5617 GB, free: 15.73 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1499, allocations: 322.8 kB / 0.562 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.012e-05/0.15, allocations: 27.98 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1501, allocations: 76.39 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.1503, allocations: 96.2 kB / 0.5622 GB, free: 15.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1503, allocations: 7.938 kB / 0.5622 GB, free: 15.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000274/0.1506, allocations: 137.4 kB / 0.5624 GB, free: 15.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1506, allocations: 4 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1506, allocations: 0 / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1506, allocations: 4 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.1507, allocations: 23.98 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.1507, allocations: 3.938 kB / 0.5624 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.604e-05/0.1508, allocations: 12.08 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1508, allocations: 4 kB / 0.5624 GB, free: 14.98 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.0001229/0.1509, allocations: 137.7 kB / 0.5625 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.151, allocations: 11.91 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.151, allocations: 17.41 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.151, allocations: 4 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.151, allocations: 3.938 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.151, allocations: 3.984 kB / 0.5626 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1512, allocations: 213.8 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1512, allocations: 0 / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.56e-05/0.1513, allocations: 19.88 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1513, allocations: 3.984 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1513, allocations: 3.984 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1513, allocations: 0 / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.1513, allocations: 7.938 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.1517, allocations: 180.9 kB / 0.563 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1518, allocations: 93.05 kB / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1518, allocations: 0 / 0.5631 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.1519, allocations: 11.92 kB / 0.5631 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1519, allocations: 11.92 kB / 0.5631 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.1519, allocations: 4 kB / 0.5631 GB, free: 14.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1521, allocations: 144.4 kB / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1521, allocations: 0 / 0.5632 GB, free: 14.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1523, allocations: 27.94 kB / 0.5633 GB, free: 14 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.002111/0.1544, allocations: 1.016 MB / 0.5643 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.1547, allocations: 80.09 kB / 0.5643 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1547, allocations: 3.938 kB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.1548, allocations: 35.97 kB / 0.5644 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1551, allocations: 43.55 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1575, allocations: 1.759 MB / 0.5661 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.1579, allocations: 0.7201 MB / 0.5668 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.13e-05/0.158, allocations: 21.41 kB / 0.5669 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.158, allocations: 39.42 kB / 0.5669 GB, free: 10.27 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.158, allocations: 0 / 0.5669 GB, free: 10.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.1866, allocations: 3.847 MB / 0.5707 GB, free: 6.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.258/8.445, allocations: 5.484 kB / 0.5707 GB, free: 6.484 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.565830192063004]