Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001269/0.001269, allocations: 119.7 kB / 18.5 MB, free: 4.539 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.001368/0.001368, allocations: 213.6 kB / 21.46 MB, free: 1.586 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.46/1.46, 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.2281/0.2281, allocations: 46.9 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.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 78.41 kB / 0.4913 GB, free: 26.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1294, allocations: 65.99 MB / 0.5558 GB, free: 9 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003363/0.1327, allocations: 1.727 MB / 0.5575 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1346, allocations: 1.038 MB / 0.5585 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.1347, allocations: 0 / 0.5585 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.135, allocations: 59.75 kB / 0.5585 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1353, allocations: 99.53 kB / 0.5586 GB, free: 6.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.1355, allocations: 75.67 kB / 0.5587 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1357, allocations: 107.7 kB / 0.5588 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.779e-05/0.1358, allocations: 12.22 kB / 0.5588 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.904e-05/0.1359, allocations: 39.84 kB / 0.5589 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.136, allocations: 35.78 kB / 0.5589 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.136, allocations: 4 kB / 0.5589 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1361, allocations: 51.92 kB / 0.5589 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.1362, allocations: 27.86 kB / 0.559 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.1362, allocations: 47.66 kB / 0.559 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.1365, allocations: 139.4 kB / 0.5591 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1365, allocations: 0 / 0.5591 GB, free: 5.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1365, allocations: 0 / 0.5591 GB, free: 5.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1365, allocations: 3.938 kB / 0.5591 GB, free: 5.52 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.0006682/0.1372, allocations: 446.4 kB / 0.5596 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1372, allocations: 12.03 kB / 0.5596 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.448e-05/0.1373, allocations: 46.67 kB / 0.5596 GB, free: 4.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.1373, allocations: 16.84 kB / 0.5596 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1377, allocations: 221 kB / 0.5599 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1377, allocations: 4.375 kB / 0.5599 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.1377, allocations: 384 / 0.5599 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1379, allocations: 61.8 kB / 0.5599 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1379, allocations: 0 / 0.5599 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.1379, allocations: 0 / 0.5599 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1379, allocations: 0 / 0.5599 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.909e-05/0.138, allocations: 27.98 kB / 0.5599 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1385, allocations: 300.8 kB / 0.5602 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1386, allocations: 54.67 kB / 0.5603 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.847e-05/0.1387, allocations: 20.84 kB / 0.5603 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1387, allocations: 0 / 0.5603 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.1389, allocations: 71.33 kB / 0.5604 GB, free: 4.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1389, allocations: 0 / 0.5604 GB, free: 4.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000618/0.1395, allocations: 189.2 kB / 0.5606 GB, free: 3.895 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.1396, allocations: 55.41 kB / 0.5606 GB, free: 3.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1399, allocations: 270.8 kB / 0.5609 GB, free: 3.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1399, allocations: 29.7 kB / 0.5609 GB, free: 3.516 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.14, allocations: 116.1 kB / 0.561 GB, free: 3.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.1401, allocations: 23.84 kB / 0.561 GB, free: 3.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.1401, allocations: 21.72 kB / 0.561 GB, free: 3.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1403, allocations: 334.8 kB / 0.5614 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.1403, allocations: 20 kB / 0.5614 GB, free: 2.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-05/0.1404, allocations: 33.7 kB / 0.5614 GB, free: 2.953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1405, allocations: 61.64 kB / 0.5615 GB, free: 2.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1405, allocations: 0 / 0.5615 GB, free: 2.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001944/0.1407, allocations: 109.5 kB / 0.5616 GB, free: 2.773 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1407, allocations: 8 kB / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1407, allocations: 0 / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1407, allocations: 3.938 kB / 0.5616 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.1408, allocations: 16.31 kB / 0.5616 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1408, allocations: 4.188 kB / 0.5616 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.891e-05/0.1409, allocations: 3.984 kB / 0.5616 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1409, allocations: 15.97 kB / 0.5616 GB, free: 2.723 MB / 414.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 (10): * Single equations (assignments): 10 * 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.0001277/0.141, allocations: 139.2 kB / 0.5618 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.1411, allocations: 15.91 kB / 0.5618 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.401e-05/0.1411, allocations: 21.41 kB / 0.5618 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1411, allocations: 0 / 0.5618 GB, free: 2.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1411, allocations: 3.984 kB / 0.5618 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1411, allocations: 0 / 0.5618 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.1417, allocations: 411.2 kB / 0.5622 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1417, allocations: 0 / 0.5622 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.169e-05/0.1417, allocations: 12 kB / 0.5622 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1417, allocations: 4 kB / 0.5622 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1418, allocations: 0 / 0.5622 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1418, allocations: 7.875 kB / 0.5622 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1418, allocations: 4 kB / 0.5622 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.142, allocations: 208.3 kB / 0.5624 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.1421, allocations: 93 kB / 0.5625 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1421, allocations: 0 / 0.5625 GB, free: 1.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.361e-05/0.1422, allocations: 7.938 kB / 0.5625 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.1422, allocations: 7.984 kB / 0.5625 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.1423, allocations: 8 kB / 0.5625 GB, free: 1.691 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.1425, allocations: 196.6 kB / 0.5627 GB, free: 1.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1425, allocations: 0 / 0.5627 GB, free: 1.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1427, allocations: 27.98 kB / 0.5627 GB, free: 1.473 MB / 414.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 (8): * Single equations (assignments): 6 * 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.002144/0.1449, allocations: 1.094 MB / 0.5638 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001857/0.1451, allocations: 59.84 kB / 0.5639 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1451, allocations: 0 / 0.5639 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.1451, allocations: 35.91 kB / 0.5639 GB, free: 444 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1455, allocations: 23.98 kB / 0.5639 GB, free: 420 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.1477, allocations: 1.835 MB / 0.5657 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1481, allocations: 0.7196 MB / 0.5664 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.529e-05/0.1482, allocations: 17.19 kB / 0.5664 GB, free: 13.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.1482, allocations: 51.41 kB / 0.5665 GB, free: 13.67 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1482, allocations: 0 / 0.5665 GB, free: 13.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.1739, allocations: 3.818 MB / 0.5702 GB, free: 9.902 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.443, allocations: 2.031 kB / 0.5702 GB, free: 9.902 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.479354807175696]