Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001318/0.001318, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001379/0.001379, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.434/1.434, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2286/0.2286, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 79.89 kB / 0.4918 GB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1436, allocations: 66.05 MB / 0.5563 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003525/0.1472, allocations: 1.76 MB / 0.558 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.149, allocations: 1.036 MB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.1491, allocations: 3.938 kB / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.1494, allocations: 87.69 kB / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.1497, allocations: 115.6 kB / 0.5592 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.1499, allocations: 87.66 kB / 0.5593 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.1501, allocations: 131.6 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1502, allocations: 7.984 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1503, allocations: 63.77 kB / 0.5595 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1505, allocations: 67.73 kB / 0.5595 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1505, allocations: 4 kB / 0.5595 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.1506, allocations: 63.97 kB / 0.5596 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.1507, allocations: 19.92 kB / 0.5596 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.1508, allocations: 47.61 kB / 0.5597 GB, free: 1.941 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.151, allocations: 139.4 kB / 0.5598 GB, free: 1.805 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.151, allocations: 4 kB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.151, allocations: 0 / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.151, allocations: 0 / 0.5598 GB, free: 1.801 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.0006942/0.1517, allocations: 454.4 kB / 0.5602 GB, free: 1.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.1518, allocations: 12.03 kB / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.293e-05/0.1518, allocations: 192 / 0.5602 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.1518, allocations: 30.75 kB / 0.5603 GB, free: 1.258 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1519, allocations: 16.84 kB / 0.5603 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.1522, allocations: 225.5 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.1523, allocations: 4.375 kB / 0.5605 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.1523, allocations: 4.375 kB / 0.5605 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1525, allocations: 61.61 kB / 0.5606 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1525, allocations: 3.984 kB / 0.5606 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1525, allocations: 4 kB / 0.5606 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1525, allocations: 0 / 0.5606 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.328e-05/0.1526, allocations: 19.98 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.153, allocations: 312.7 kB / 0.5609 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.1533, allocations: 58.55 kB / 0.5609 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.3e-05/0.1533, allocations: 20.98 kB / 0.561 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1534, allocations: 3.984 kB / 0.561 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.1535, allocations: 79.39 kB / 0.561 GB, free: 348 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.1535, allocations: 0 / 0.561 GB, free: 348 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008077/0.1544, allocations: 229.3 kB / 0.5613 GB, free: 112 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.1544, allocations: 67.33 kB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.1547, allocations: 238 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1547, allocations: 33.64 kB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.1548, allocations: 112.1 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.1548, allocations: 31.75 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.1549, allocations: 29.7 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.155, allocations: 326.8 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.1551, allocations: 27.98 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.796e-05/0.1552, allocations: 45.7 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1554, allocations: 77.64 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1554, allocations: 4 kB / 0.5622 GB, free: 15.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000252/0.1556, allocations: 137.6 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1556, allocations: 4 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1556, allocations: 0 / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1556, allocations: 7.938 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.1557, allocations: 19.98 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1557, allocations: 3.938 kB / 0.5624 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.056e-05/0.1558, allocations: 8 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/0.1558, allocations: 4 kB / 0.5624 GB, free: 14.89 MB / 430.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 (13): * Single equations (assignments): 13 * 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.0001219/0.1559, allocations: 135.4 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.1559, allocations: 15.91 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.156, allocations: 18.09 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.156, allocations: 4 kB / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.156, allocations: 3.938 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.156, allocations: 3.938 kB / 0.5626 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.1566, allocations: 452.1 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1566, allocations: 8 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.1567, allocations: 19.92 kB / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1567, allocations: 0 / 0.563 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1567, allocations: 11.98 kB / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.1567, allocations: 4 kB / 0.563 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1567, allocations: 0 / 0.563 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002961/0.157, allocations: 233.1 kB / 0.5633 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.157, allocations: 96.89 kB / 0.5633 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.1571, allocations: 3.984 kB / 0.5634 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.1572, allocations: 8 kB / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.1572, allocations: 8.078 kB / 0.5634 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1572, allocations: 7.938 kB / 0.5634 GB, free: 13.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.1574, allocations: 176.4 kB / 0.5635 GB, free: 13.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1574, allocations: 0 / 0.5635 GB, free: 13.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1577, allocations: 35.94 kB / 0.5636 GB, free: 13.55 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002448/0.1601, allocations: 1.164 MB / 0.5647 GB, free: 12.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1603, allocations: 79.91 kB / 0.5648 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1603, allocations: 0 / 0.5648 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1604, allocations: 35.92 kB / 0.5648 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.1608, allocations: 30.59 kB / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.1631, allocations: 1.866 MB / 0.5667 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.1635, allocations: 0.7119 MB / 0.5674 GB, free: 9.707 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.872e-05/0.1636, allocations: 32.56 kB / 0.5674 GB, free: 9.672 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.073e-05/0.1636, allocations: 43.42 kB / 0.5674 GB, free: 9.629 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1636, allocations: 0 / 0.5674 GB, free: 9.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.1843, allocations: 4 MB / 0.5713 GB, free: 5.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/8.232, allocations: 16.66 kB / 0.5714 GB, free: 5.688 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.315205735969357]