Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001404/0.001404, allocations: 117.8 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.001415/0.001415, allocations: 216.9 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.522/1.522, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.268/0.268, allocations: 46.9 MB / 357.4 MB, free: 10.51 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.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002891/0.002891, allocations: 79.5 kB / 0.4913 GB, free: 26.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.149, allocations: 65.98 MB / 0.5558 GB, free: 9.023 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003449/0.1524, allocations: 1.694 MB / 0.5574 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.1543, allocations: 1.016 MB / 0.5584 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.1544, allocations: 0 / 0.5584 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.1548, allocations: 83.7 kB / 0.5585 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000423/0.1553, allocations: 119.6 kB / 0.5586 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.1555, allocations: 79.66 kB / 0.5587 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.1557, allocations: 103.7 kB / 0.5588 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.1558, allocations: 8.219 kB / 0.5588 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1559, allocations: 51.77 kB / 0.5588 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1561, allocations: 55.81 kB / 0.5589 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.1561, allocations: 7.938 kB / 0.5589 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1562, allocations: 39.92 kB / 0.5589 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.335e-05/0.1562, allocations: 19.92 kB / 0.5589 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.1563, allocations: 35.75 kB / 0.559 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.1565, allocations: 111.8 kB / 0.5591 GB, free: 5.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1565, allocations: 0 / 0.5591 GB, free: 5.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1565, allocations: 0 / 0.5591 GB, free: 5.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1565, allocations: 0 / 0.5591 GB, free: 5.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000662/0.1572, allocations: 429.5 kB / 0.5595 GB, free: 5.125 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.1573, allocations: 12.03 kB / 0.5595 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.367e-05/0.1573, allocations: 34.69 kB / 0.5595 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.1573, allocations: 12.84 kB / 0.5596 GB, free: 5.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.1577, allocations: 220.1 kB / 0.5598 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1577, allocations: 4.375 kB / 0.5598 GB, free: 4.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1578, allocations: 4.375 kB / 0.5598 GB, free: 4.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1579, allocations: 53.78 kB / 0.5598 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1579, allocations: 0 / 0.5598 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1579, allocations: 4 kB / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.158, allocations: 0 / 0.5598 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.158, allocations: 15.98 kB / 0.5598 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002678/0.1583, allocations: 185.7 kB / 0.56 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1585, allocations: 50.55 kB / 0.5601 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.252e-05/0.1585, allocations: 20.84 kB / 0.5601 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1586, allocations: 0 / 0.5601 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1587, allocations: 75.33 kB / 0.5602 GB, free: 4.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1587, allocations: 4 kB / 0.5602 GB, free: 4.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000301/0.159, allocations: 97.52 kB / 0.5603 GB, free: 4.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1591, allocations: 55.41 kB / 0.5603 GB, free: 4.148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1593, allocations: 227.3 kB / 0.5605 GB, free: 3.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1594, allocations: 25.7 kB / 0.5606 GB, free: 3.879 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.1594, allocations: 104.1 kB / 0.5607 GB, free: 3.773 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1595, allocations: 15.94 kB / 0.5607 GB, free: 3.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.1595, allocations: 17.72 kB / 0.5607 GB, free: 3.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1597, allocations: 326.8 kB / 0.561 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.1597, allocations: 15.98 kB / 0.561 GB, free: 3.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.1598, allocations: 33.7 kB / 0.561 GB, free: 3.352 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1599, allocations: 45.59 kB / 0.5611 GB, free: 3.301 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1599, allocations: 0 / 0.5611 GB, free: 3.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001659/0.16, allocations: 93.52 kB / 0.5612 GB, free: 3.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1601, allocations: 4 kB / 0.5612 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1601, allocations: 3.938 kB / 0.5612 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1601, allocations: 4 kB / 0.5612 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.1602, allocations: 8 kB / 0.5612 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1602, allocations: 0 / 0.5612 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.1602, allocations: 4 kB / 0.5612 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1602, allocations: 0 / 0.5612 GB, free: 3.18 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 (7): * Single equations (assignments): 7 * 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.0001167/0.1603, allocations: 129.8 kB / 0.5613 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1604, allocations: 19.88 kB / 0.5613 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.1604, allocations: 20.98 kB / 0.5614 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1604, allocations: 0 / 0.5614 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1604, allocations: 0 / 0.5614 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1604, allocations: 0 / 0.5614 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1606, allocations: 189.6 kB / 0.5615 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.1606, allocations: 4.25 kB / 0.5615 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.726e-05/0.1606, allocations: 0 / 0.5615 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1606, allocations: 4 kB / 0.5616 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1606, allocations: 4 kB / 0.5616 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1606, allocations: 3.938 kB / 0.5616 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1606, allocations: 4 kB / 0.5616 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.1608, allocations: 109 kB / 0.5617 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.1609, allocations: 92.94 kB / 0.5618 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.1609, allocations: 7.984 kB / 0.5618 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/0.1609, allocations: 0 / 0.5618 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.161, allocations: 0 / 0.5618 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.161, allocations: 4 kB / 0.5618 GB, free: 2.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.1611, allocations: 173.2 kB / 0.5619 GB, free: 2.332 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1611, allocations: 0 / 0.5619 GB, free: 2.332 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.1614, allocations: 19.95 kB / 0.562 GB, free: 2.312 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001994/0.1634, allocations: 0.9515 MB / 0.5629 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.1635, allocations: 39.98 kB / 0.5629 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1635, allocations: 0 / 0.5629 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.513e-05/0.1636, allocations: 19.92 kB / 0.5629 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.1639, allocations: 31.72 kB / 0.563 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1658, allocations: 1.577 MB / 0.5645 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.1663, allocations: 0.7119 MB / 0.5652 GB, free: 14.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.579e-05/0.1663, allocations: 12.55 kB / 0.5652 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.1664, allocations: 31.42 kB / 0.5652 GB, free: 14.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1664, allocations: 0 / 0.5652 GB, free: 14.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.1921, allocations: 3.282 MB / 0.5684 GB, free: 11.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.285, allocations: 11.38 kB / 0.5685 GB, free: 11.71 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.402544531039894]