Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.0009273/0.0009273, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.00108/0.00108, 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.8844/0.8844, allocations: 177 MB / 204.1 MB, free: 5.746 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.2484/0.2484, allocations: 34.24 MB / 294.8 MB, free: 0.6992 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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.771e-05/1.94e-05, allocations: 9.031 kB / 442.3 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.1642/0.1643, allocations: 1.7 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1658, allocations: 1.674 MB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.1659, allocations: 2.75 kB / 445.6 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1662, allocations: 38.03 kB / 445.7 MB, free: 42.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.1665, allocations: 100.2 kB / 445.8 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.1666, allocations: 75.61 kB / 445.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1667, allocations: 118.7 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.1668, allocations: 4.5 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.533e-05/0.1669, allocations: 63.59 kB / 446 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.167, allocations: 26.44 kB / 446 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.167, allocations: 9.75 kB / 446.1 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1671, allocations: 107.5 kB / 446.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.865e-05/0.1672, allocations: 31.7 kB / 446.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.1672, allocations: 27.5 kB / 446.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1674, allocations: 168.1 kB / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1674, allocations: 0 / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1674, allocations: 0 / 446.4 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1674, allocations: 3.938 kB / 446.4 MB, free: 42.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004006/0.1678, allocations: 359.2 kB / 446.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1679, allocations: 8.438 kB / 446.7 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.249e-05/0.1679, allocations: 35.16 kB / 446.8 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.1679, allocations: 11.75 kB / 446.8 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1681, allocations: 146.2 kB / 446.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1681, allocations: 3.094 kB / 446.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1682, allocations: 11.41 kB / 447 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1683, allocations: 99.39 kB / 447 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1683, allocations: 2.969 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1683, allocations: 0 / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1683, allocations: 0 / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.1684, allocations: 22.91 kB / 447.1 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.1686, allocations: 250 kB / 447.3 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1687, allocations: 67.59 kB / 447.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.1687, allocations: 25.53 kB / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1688, allocations: 0 / 447.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.1689, allocations: 69.91 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.1689, allocations: 0 / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000373/0.1692, allocations: 182.3 kB / 447.7 MB, free: 41.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.1693, allocations: 77.11 kB / 447.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.1694, allocations: 169 kB / 447.9 MB, free: 41.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.1694, allocations: 29.7 kB / 447.9 MB, free: 41.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.1694, allocations: 105.2 kB / 448 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.1694, allocations: 18.73 kB / 448 MB, free: 41.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.1694, allocations: 25.83 kB / 448.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.213e-05/0.1695, allocations: 324.9 kB / 448.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/0.1695, allocations: 26.45 kB / 448.4 MB, free: 40.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.1695, allocations: 66.8 kB / 448.5 MB, free: 40.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.314e-05/0.1696, allocations: 61.12 kB / 448.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1696, allocations: 0.8438 kB / 448.5 MB, free: 40.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001119/0.1697, allocations: 110.6 kB / 448.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.1697, allocations: 6.812 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1697, allocations: 0 / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1698, allocations: 3.234 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.1698, allocations: 17.81 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1698, allocations: 0 / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.1699, allocations: 8.594 kB / 448.7 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1699, allocations: 9.062 kB / 448.7 MB, free: 40.57 MB / 410.7 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 (10): * Single equations (assignments): 10 * 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 5.084e-05/0.1699, allocations: 123.5 kB / 448.8 MB, free: 40.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.1699, allocations: 12.98 kB / 448.8 MB, free: 40.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.1701, allocations: 121.3 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1701, allocations: 2.656 kB / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1701, allocations: 0 / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1701, allocations: 0 / 448.9 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1703, allocations: 373.9 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1703, allocations: 0 / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.1704, allocations: 11.92 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1704, allocations: 3.516 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1704, allocations: 13.62 kB / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1704, allocations: 0 / 449.3 MB, free: 40.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1704, allocations: 10.69 kB / 449.4 MB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.1705, allocations: 208.8 kB / 449.6 MB, free: 39.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.089e-05/0.1705, allocations: 9.828 kB / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1705, allocations: 2.875 kB / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.334e-05/0.1705, allocations: 6.812 kB / 449.6 MB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1706, allocations: 10 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.1706, allocations: 2.75 kB / 449.6 MB, free: 39.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.444e-05/0.1706, allocations: 134.6 kB / 449.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1706, allocations: 4 kB / 449.7 MB, free: 39.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.1708, allocations: 51.78 kB / 449.8 MB, free: 39.75 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: 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 (9): * Single equations (assignments): 7 * 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.001002/0.1718, allocations: 1.226 MB / 451 MB, free: 38.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.172, allocations: 55.78 kB / 451.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.172, allocations: 8 kB / 451.1 MB, free: 38.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.172, allocations: 29.08 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.1722, allocations: 28.88 kB / 451.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009038/0.1731, allocations: 1.612 MB / 452.7 MB, free: 37.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.355e-05/0.1732, allocations: 83.28 kB / 452.8 MB, free: 37.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.1732, allocations: 24.52 kB / 452.8 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.1733, allocations: 38.83 kB / 452.9 MB, free: 37.43 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1733, allocations: 0 / 452.9 MB, free: 37.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01864/0.1919, allocations: 4.911 MB / 457.8 MB, free: 35.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/7.004, allocations: 9.844 kB / 457.8 MB, free: 35.85 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.94330817181617]