Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.0009568/0.0009568, 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.001076/0.001076, 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.895/0.895, 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.2478/0.2478, allocations: 34.25 MB / 294.8 MB, free: 0.6797 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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.908e-05, allocations: 10.28 kB / 442.2 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.1546/0.1546, allocations: 1.706 MB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.1555, allocations: 0.9779 MB / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.846e-05/0.1556, allocations: 0 / 444.9 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.1558, allocations: 48.81 kB / 445 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.156, allocations: 103.2 kB / 445.1 MB, free: 42.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.1562, allocations: 70.62 kB / 445.2 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.1563, allocations: 113.5 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.1564, allocations: 9.719 kB / 445.3 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.549e-05/0.1564, allocations: 56.44 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.558e-05/0.1565, allocations: 27.52 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1565, allocations: 5.906 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-05/0.1566, allocations: 41.22 kB / 445.4 MB, free: 42.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.578e-05/0.1566, allocations: 34.81 kB / 445.4 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.1566, allocations: 20.03 kB / 445.5 MB, free: 42.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.1568, allocations: 126.9 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1568, allocations: 3 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1568, allocations: 3.25 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.1568, allocations: 0 / 445.6 MB, free: 42.82 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.0003479/0.1571, allocations: 359.8 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1572, allocations: 8.656 kB / 445.9 MB, free: 42.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.092e-05/0.1572, allocations: 30.75 kB / 446 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.1572, allocations: 17.98 kB / 446 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.1574, allocations: 161.3 kB / 446.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1574, allocations: 4.031 kB / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1574, allocations: 384 / 446.2 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.846e-05/0.1575, allocations: 60.91 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1575, allocations: 192 / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1575, allocations: 4.125 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1575, allocations: 2.969 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.1576, allocations: 22.91 kB / 446.2 MB, free: 42.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.1578, allocations: 260.4 kB / 446.5 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.1579, allocations: 59.61 kB / 446.6 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.949e-05/0.1579, allocations: 27.56 kB / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1579, allocations: 0 / 446.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.58e-05/0.158, allocations: 70.05 kB / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.158, allocations: 0 / 446.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003494/0.1584, allocations: 186.2 kB / 446.8 MB, free: 41.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.1584, allocations: 55.34 kB / 446.9 MB, free: 41.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1585, allocations: 240.9 kB / 447.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.1585, allocations: 29.02 kB / 447.1 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.1586, allocations: 111.9 kB / 447.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.1586, allocations: 29.06 kB / 447.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.1586, allocations: 21.61 kB / 447.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.719e-05/0.1586, allocations: 326.3 kB / 447.6 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.1587, allocations: 25.22 kB / 447.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.1587, allocations: 40.83 kB / 447.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.1588, allocations: 63.59 kB / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1588, allocations: 0.8438 kB / 447.8 MB, free: 41.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.581e-05/0.1589, allocations: 115.4 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1589, allocations: 5.812 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1589, allocations: 0 / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1589, allocations: 0 / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.1589, allocations: 14.16 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1589, allocations: 3.234 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.159, allocations: 2.906 kB / 447.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.159, allocations: 6.719 kB / 447.9 MB, free: 41.18 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.086e-05/0.159, allocations: 138.2 kB / 448 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.159, allocations: 13.8 kB / 448 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.1592, allocations: 130.2 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1592, allocations: 1.734 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1592, allocations: 5.312 kB / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1592, allocations: 0 / 448.2 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.1594, allocations: 376.7 kB / 448.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1594, allocations: 0 / 448.5 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.1594, allocations: 13.33 kB / 448.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1594, allocations: 0 / 448.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1594, allocations: 5.031 kB / 448.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1594, allocations: 6.094 kB / 448.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1594, allocations: 0 / 448.6 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.633e-05/0.1595, allocations: 217.4 kB / 448.8 MB, free: 40.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.1595, allocations: 17.5 kB / 448.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1596, allocations: 2.938 kB / 448.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.1596, allocations: 3.281 kB / 448.8 MB, free: 40.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1596, allocations: 13.89 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1596, allocations: 9.719 kB / 448.8 MB, free: 40.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.977e-05/0.1597, allocations: 176.2 kB / 449 MB, free: 40.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1597, allocations: 0 / 449 MB, free: 40.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.1599, allocations: 28.33 kB / 449 MB, free: 40.35 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.0008588/0.1607, allocations: 1.132 MB / 450.2 MB, free: 39.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1608, allocations: 60.89 kB / 450.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1608, allocations: 0 / 450.2 MB, free: 39.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.796e-05/0.1609, allocations: 28.7 kB / 450.2 MB, free: 39.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1611, allocations: 39.72 kB / 450.3 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00092/0.162, allocations: 1.759 MB / 452 MB, free: 38.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.807e-05/0.1621, allocations: 105.6 kB / 452.2 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.345e-05/0.1621, allocations: 12.92 kB / 452.2 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1621, allocations: 48.39 kB / 452.2 MB, free: 38.02 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.1621, allocations: 0 / 452.2 MB, free: 38.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.1756, allocations: 4.437 MB / 456.6 MB, free: 36.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/6.765, allocations: 13.3 kB / 456.7 MB, free: 36.59 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.752521465532482]