Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.0008586/0.0008586, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009351/0.0009351, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9081/0.9081, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2387/0.2387, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 442.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.259e-05, allocations: 6.219 kB / 442.2 MB, free: 1.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.1656/0.1656, allocations: 1.783 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1667, allocations: 1.055 MB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.462e-05/0.1668, allocations: 3.938 kB / 445.1 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.1671, allocations: 298 kB / 445.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.1675, allocations: 260.2 kB / 445.6 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.1676, allocations: 111.5 kB / 445.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.1678, allocations: 264.9 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.1679, allocations: 4.781 kB / 446 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.168, allocations: 157.5 kB / 446.1 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1681, allocations: 198.1 kB / 446.3 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.1681, allocations: 16.14 kB / 446.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.1682, allocations: 47.69 kB / 446.4 MB, free: 42.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.1683, allocations: 132.9 kB / 446.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.1684, allocations: 76.02 kB / 446.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1686, allocations: 349.4 kB / 446.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1686, allocations: 1.312 kB / 446.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1686, allocations: 2.688 kB / 447 MB, free: 42.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1686, allocations: 0 / 447 MB, free: 42.65 MB / 410.7 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.0005583/0.1692, allocations: 0.6664 MB / 447.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1692, allocations: 8.406 kB / 447.6 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.1692, allocations: 48.55 kB / 447.7 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.1693, allocations: 48.3 kB / 447.7 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.1697, allocations: 389 kB / 448.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1697, allocations: 1.219 kB / 448.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1697, allocations: 6.25 kB / 448.1 MB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1698, allocations: 89.03 kB / 448.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1698, allocations: 3.031 kB / 448.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1698, allocations: 5.062 kB / 448.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1698, allocations: 0 / 448.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.1699, allocations: 42.55 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.1701, allocations: 318.4 kB / 448.6 MB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.1703, allocations: 107.1 kB / 448.7 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.1703, allocations: 40.03 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1704, allocations: 2.5 kB / 448.7 MB, free: 41.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.1705, allocations: 112.2 kB / 448.8 MB, free: 41.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1705, allocations: 4 kB / 448.8 MB, free: 41.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002885/0.1708, allocations: 211.1 kB / 449 MB, free: 41.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.1708, allocations: 81.05 kB / 449.1 MB, free: 41.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.1714, allocations: 1.037 MB / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-06/0.1714, allocations: 29.7 kB / 450.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.1715, allocations: 231.7 kB / 450.4 MB, free: 40.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1715, allocations: 30.44 kB / 450.4 MB, free: 40.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1715, allocations: 29.19 kB / 450.5 MB, free: 40.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.927e-05/0.1716, allocations: 370 kB / 450.8 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.1717, allocations: 32.72 kB / 450.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.1717, allocations: 57.83 kB / 450.9 MB, free: 40.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.547e-05/0.1718, allocations: 94.42 kB / 451 MB, free: 40.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1718, allocations: 0 / 451 MB, free: 40.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001534/0.172, allocations: 173.6 kB / 451.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.172, allocations: 5.781 kB / 451.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.172, allocations: 6.75 kB / 451.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.172, allocations: 4.062 kB / 451.2 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.1721, allocations: 26.89 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1721, allocations: 3.422 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.1721, allocations: 13.59 kB / 451.2 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1721, allocations: 2.812 kB / 451.2 MB, free: 40.04 MB / 410.7 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0001145/0.1722, allocations: 226.2 kB / 451.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.985e-05/0.1723, allocations: 54.16 kB / 451.5 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.1725, allocations: 206.3 kB / 451.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1725, allocations: 11.64 kB / 451.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1725, allocations: 2.812 kB / 451.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1725, allocations: 3.469 kB / 451.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1727, allocations: 290.3 kB / 452 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1727, allocations: 0 / 452 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.767e-05/0.1727, allocations: 22.53 kB / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1727, allocations: 0 / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1727, allocations: 6.625 kB / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1727, allocations: 0 / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1727, allocations: 0 / 452 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1729, allocations: 216.1 kB / 452.2 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.1729, allocations: 64.59 kB / 452.3 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.173, allocations: 14.5 kB / 452.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.467e-05/0.173, allocations: 6.172 kB / 452.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.173, allocations: 8.406 kB / 452.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.173, allocations: 16.14 kB / 452.3 MB, free: 39.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004218/0.1735, allocations: 0.7638 MB / 453.1 MB, free: 39.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1735, allocations: 0 / 453.1 MB, free: 39.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001912/0.1737, allocations: 48.48 kB / 453.2 MB, free: 39.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.0009426/0.1746, allocations: 1.085 MB / 454.2 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1748, allocations: 90.66 kB / 454.3 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1748, allocations: 0 / 454.3 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.1748, allocations: 42.08 kB / 454.4 MB, free: 38.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.1751, allocations: 63.83 kB / 454.4 MB, free: 38.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.1784, allocations: 4.535 MB / 459 MB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.1786, allocations: 241.5 kB / 459.2 MB, free: 36.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.264e-05/0.1786, allocations: 57.34 kB / 459.3 MB, free: 36.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.1788, allocations: 151.9 kB / 459.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1788, allocations: 0 / 459.4 MB, free: 35.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.1976, allocations: 9.98 MB / 469.4 MB, free: 33.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.783/6.98, allocations: 3.938 kB / 469.4 MB, free: 33.96 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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: 8.999145058915019]