Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.000858/0.000858, 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.0008957/0.0008957, 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.9091/0.9091, allocations: 177 MB / 204.1 MB, free: 5.719 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.2457/0.2457, allocations: 34.24 MB / 294.8 MB, free: 0.7031 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.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.132e-05, allocations: 5.094 kB / 442.2 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.1577/0.1577, allocations: 1.775 MB / 444 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1596, allocations: 1.743 MB / 445.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1597, allocations: 3.062 kB / 445.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.16, allocations: 57.5 kB / 445.8 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.1604, allocations: 145.4 kB / 446 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1607, allocations: 104.9 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1608, allocations: 211 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.1609, allocations: 10.03 kB / 446.3 MB, free: 42.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.161, allocations: 111.9 kB / 446.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1611, allocations: 63.28 kB / 446.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1611, allocations: 8.625 kB / 446.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.1613, allocations: 108.7 kB / 446.6 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.1613, allocations: 43.38 kB / 446.6 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.1614, allocations: 37.66 kB / 446.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.1616, allocations: 234.3 kB / 446.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1616, allocations: 0 / 446.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1616, allocations: 0 / 446.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1616, allocations: 0 / 446.9 MB, free: 42.25 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.0004599/0.1621, allocations: 426.5 kB / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1621, allocations: 10.06 kB / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.1622, allocations: 38.69 kB / 447.3 MB, free: 41.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.1622, allocations: 24.27 kB / 447.4 MB, free: 41.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1625, allocations: 193.4 kB / 447.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1625, allocations: 3.062 kB / 447.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1625, allocations: 7.062 kB / 447.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1627, allocations: 150.2 kB / 447.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1627, allocations: 6.281 kB / 447.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1627, allocations: 4.125 kB / 447.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1627, allocations: 0 / 447.7 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.1628, allocations: 36.33 kB / 447.8 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.1629, allocations: 184.7 kB / 447.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.1631, allocations: 107 kB / 448 MB, free: 41.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.1631, allocations: 41.64 kB / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1632, allocations: 0 / 448.1 MB, free: 41.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.1633, allocations: 117.2 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.1633, allocations: 2.906 kB / 448.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002779/0.1636, allocations: 179.5 kB / 448.4 MB, free: 41.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.1636, allocations: 138 kB / 448.5 MB, free: 40.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1638, allocations: 246.2 kB / 448.7 MB, free: 40.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.1638, allocations: 29.7 kB / 448.8 MB, free: 40.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.1638, allocations: 119 kB / 448.9 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1638, allocations: 32.61 kB / 448.9 MB, free: 40.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1639, allocations: 26.25 kB / 448.9 MB, free: 40.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.202e-05/0.1639, allocations: 330.6 kB / 449.3 MB, free: 40.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.1639, allocations: 31.69 kB / 449.3 MB, free: 40.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.164, allocations: 123.9 kB / 449.4 MB, free: 40.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.1641, allocations: 99.36 kB / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1641, allocations: 0 / 449.5 MB, free: 40.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001448/0.1642, allocations: 142.3 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1643, allocations: 5.344 kB / 449.7 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1643, allocations: 7.172 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1643, allocations: 2.906 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.141e-05/0.1643, allocations: 24.14 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1643, allocations: 2.969 kB / 449.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.1644, allocations: 22.73 kB / 449.7 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1644, allocations: 6.281 kB / 449.7 MB, free: 39.95 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 6.142e-05/0.1645, allocations: 132.5 kB / 449.9 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.1645, allocations: 16.5 kB / 449.9 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.1647, allocations: 162.7 kB / 450 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1647, allocations: 3.375 kB / 450 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1647, allocations: 3.25 kB / 450 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1647, allocations: 3.719 kB / 450 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.424e-05/0.1648, allocations: 182.4 kB / 450.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1648, allocations: 4 kB / 450.2 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.1648, allocations: 12.69 kB / 450.2 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1648, allocations: 0 / 450.2 MB, free: 39.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1648, allocations: 14.06 kB / 450.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1648, allocations: 2.938 kB / 450.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1648, allocations: 0 / 450.3 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.165, allocations: 173.6 kB / 450.4 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.165, allocations: 18.34 kB / 450.4 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.165, allocations: 14.75 kB / 450.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.61e-05/0.165, allocations: 6.234 kB / 450.5 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1651, allocations: 21.42 kB / 450.5 MB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.1651, allocations: 5.688 kB / 450.5 MB, free: 39.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.182e-05/0.1652, allocations: 183.7 kB / 450.7 MB, free: 39.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1652, allocations: 0 / 450.7 MB, free: 39.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.1654, allocations: 60.28 kB / 450.7 MB, free: 39.29 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (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.0009462/0.1663, allocations: 1.146 MB / 451.9 MB, free: 38.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.1665, allocations: 94.19 kB / 452 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.1665, allocations: 0 / 452 MB, free: 38.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.1665, allocations: 41.33 kB / 452 MB, free: 38.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1667, allocations: 68.86 kB / 452.1 MB, free: 38.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1679, allocations: 1.915 MB / 454 MB, free: 37.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.627e-05/0.1679, allocations: 109.9 kB / 454.1 MB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.996e-05/0.168, allocations: 29.09 kB / 454.1 MB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.1681, allocations: 63.17 kB / 454.2 MB, free: 36.93 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1681, allocations: 3.938 kB / 454.2 MB, free: 36.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.1854, allocations: 6.356 MB / 460.5 MB, free: 35.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.768/6.953, allocations: 6.531 kB / 460.6 MB, free: 35.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.948909779079258]