Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.001226/0.001226, allocations: 117.3 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.00133/0.00133, 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.461/1.461, 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.2322/0.2322, allocations: 46.91 MB / 357.4 MB, free: 10.55 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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 75.88 kB / 0.4913 GB, free: 8.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1494, allocations: 65.99 MB / 0.5558 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003395/0.1528, allocations: 1.933 MB / 0.5577 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.1549, allocations: 1.13 MB / 0.5588 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.543e-05/0.155, allocations: 4 kB / 0.5588 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.1554, allocations: 167.5 kB / 0.5589 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.1558, allocations: 187.2 kB / 0.5591 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.156, allocations: 123.6 kB / 0.5592 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.1564, allocations: 235.3 kB / 0.5595 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1565, allocations: 21.67 kB / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.1566, allocations: 107.6 kB / 0.5596 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1568, allocations: 147.5 kB / 0.5597 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1568, allocations: 8 kB / 0.5597 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.157, allocations: 63.98 kB / 0.5598 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-05/0.157, allocations: 59.7 kB / 0.5599 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.819e-05/0.1571, allocations: 87.34 kB / 0.5599 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.1575, allocations: 223 kB / 0.5602 GB, free: 1.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1575, allocations: 0 / 0.5602 GB, free: 1.797 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1575, allocations: 0 / 0.5602 GB, free: 1.797 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.1575, allocations: 0 / 0.5602 GB, free: 1.797 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007821/0.1583, allocations: 0.5562 MB / 0.5607 GB, free: 1.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1583, allocations: 8.031 kB / 0.5607 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.388e-05/0.1584, allocations: 42.73 kB / 0.5607 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1584, allocations: 32.75 kB / 0.5608 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.1588, allocations: 275.8 kB / 0.561 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1589, allocations: 4.375 kB / 0.561 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.1589, allocations: 12.31 kB / 0.5611 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.1591, allocations: 113.2 kB / 0.5612 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1592, allocations: 0 / 0.5612 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1592, allocations: 0 / 0.5612 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1592, allocations: 4 kB / 0.5612 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.1593, allocations: 47.97 kB / 0.5612 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.1599, allocations: 472.7 kB / 0.5617 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.1603, allocations: 125.3 kB / 0.5618 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.1604, allocations: 37.83 kB / 0.5618 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1604, allocations: 7.984 kB / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.1607, allocations: 117 kB / 0.5619 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1607, allocations: 4 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001296/0.162, allocations: 496.8 kB / 0.5624 GB, free: 15.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.1621, allocations: 89.09 kB / 0.5625 GB, free: 15.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004181/0.1625, allocations: 367.3 kB / 0.5629 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.1625, allocations: 33.7 kB / 0.5629 GB, free: 14.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1626, allocations: 148.5 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.1627, allocations: 83.31 kB / 0.5631 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.1628, allocations: 41.7 kB / 0.5631 GB, free: 14.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1629, allocations: 346.8 kB / 0.5635 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1631, allocations: 51.98 kB / 0.5635 GB, free: 14.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.1632, allocations: 91.33 kB / 0.5636 GB, free: 13.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.1635, allocations: 167.5 kB / 0.5638 GB, free: 13.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1635, allocations: 0 / 0.5638 GB, free: 13.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004105/0.1639, allocations: 229.3 kB / 0.564 GB, free: 13.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1639, allocations: 4 kB / 0.564 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1639, allocations: 3.938 kB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1639, allocations: 4 kB / 0.564 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1641, allocations: 47.98 kB / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1641, allocations: 4 kB / 0.5641 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.1642, allocations: 11.98 kB / 0.5641 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1642, allocations: 8 kB / 0.5641 GB, free: 13.49 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001512/0.1643, allocations: 157.7 kB / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.1644, allocations: 27.81 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.675e-05/0.1645, allocations: 45.75 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1645, allocations: 4 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1645, allocations: 4 kB / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1645, allocations: 0 / 0.5643 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.1654, allocations: 0.7194 MB / 0.565 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1654, allocations: 0 / 0.565 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.588e-05/0.1655, allocations: 31.92 kB / 0.565 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1655, allocations: 4.125 kB / 0.565 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.1656, allocations: 11.98 kB / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.1656, allocations: 0 / 0.565 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1656, allocations: 4 kB / 0.5651 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005279/0.1661, allocations: 421.8 kB / 0.5655 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.983e-05/0.1662, allocations: 104.9 kB / 0.5656 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.1662, allocations: 8 kB / 0.5656 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1664, allocations: 4 kB / 0.5656 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.1664, allocations: 27.84 kB / 0.5656 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.1664, allocations: 12 kB / 0.5656 GB, free: 11.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002983/0.1667, allocations: 285.9 kB / 0.5659 GB, free: 11.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1667, allocations: 0 / 0.5659 GB, free: 11.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003542/0.1671, allocations: 47.94 kB / 0.5659 GB, free: 11.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002601/0.1697, allocations: 1.357 MB / 0.5672 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003531/0.1701, allocations: 155.3 kB / 0.5674 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1701, allocations: 0 / 0.5674 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1702, allocations: 80.03 kB / 0.5675 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.1708, allocations: 66.84 kB / 0.5675 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.1741, allocations: 2.715 MB / 0.5702 GB, free: 7.145 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1746, allocations: 0.7635 MB / 0.5709 GB, free: 6.355 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1747, allocations: 37.92 kB / 0.571 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1748, allocations: 91.39 kB / 0.5711 GB, free: 6.227 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1748, allocations: 3.938 kB / 0.5711 GB, free: 6.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/0.2056, allocations: 6.131 MB / 0.577 GB, free: 152 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.603, allocations: 3.938 kB / 0.577 GB, free: 148 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.65272567095235]