Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.0008303/0.0008303, 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.0008261/0.0008261, 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.9281/0.9281, 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.2466/0.2466, 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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 442.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.756e-05, allocations: 5.094 kB / 442.2 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.1714/0.1714, allocations: 1.975 MB / 444.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1727, allocations: 1.063 MB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1728, allocations: 2.688 kB / 445.3 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003536/0.1732, allocations: 52.56 kB / 445.3 MB, free: 42.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.1735, allocations: 108.2 kB / 445.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1738, allocations: 120.3 kB / 445.6 MB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.174, allocations: 213.2 kB / 445.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1742, allocations: 19.73 kB / 445.8 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1743, allocations: 104.4 kB / 445.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.584e-05/0.1744, allocations: 64 kB / 445.9 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1744, allocations: 11.62 kB / 446 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.142e-05/0.1745, allocations: 61.22 kB / 446 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.1746, allocations: 35.17 kB / 446.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.504e-05/0.1746, allocations: 50.66 kB / 446.1 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1748, allocations: 202.4 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1749, allocations: 3.688 kB / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1749, allocations: 0 / 446.3 MB, free: 42.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1749, allocations: 1.531 kB / 446.3 MB, free: 42.64 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006221/0.1755, allocations: 0.4929 MB / 446.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1755, allocations: 15.03 kB / 446.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.1755, allocations: 41.03 kB / 446.9 MB, free: 42.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.1756, allocations: 17.53 kB / 446.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.1759, allocations: 191.8 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1759, allocations: 3.375 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.1759, allocations: 10.25 kB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.1762, allocations: 176.9 kB / 447.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1762, allocations: 7.406 kB / 447.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1762, allocations: 11.03 kB / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1762, allocations: 0 / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.1764, allocations: 112 kB / 447.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1768, allocations: 0.4962 MB / 447.9 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.1772, allocations: 157.3 kB / 448 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1773, allocations: 71.66 kB / 448.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.1774, allocations: 6.094 kB / 448.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002217/0.1776, allocations: 166.4 kB / 448.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.1776, allocations: 0 / 448.3 MB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004833/0.1781, allocations: 259.9 kB / 448.5 MB, free: 41.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.1781, allocations: 61.52 kB / 448.6 MB, free: 41.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1782, allocations: 238.8 kB / 448.8 MB, free: 40.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1782, allocations: 32.73 kB / 448.8 MB, free: 40.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.1783, allocations: 127.8 kB / 449 MB, free: 40.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1783, allocations: 40.75 kB / 449 MB, free: 40.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.1784, allocations: 36.58 kB / 449 MB, free: 40.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.665e-05/0.1784, allocations: 334.2 kB / 449.4 MB, free: 40.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1785, allocations: 96.47 kB / 449.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1787, allocations: 135.5 kB / 449.6 MB, free: 40.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.1789, allocations: 196.5 kB / 449.8 MB, free: 40.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1789, allocations: 2.688 kB / 449.8 MB, free: 40.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003188/0.1792, allocations: 292.3 kB / 450.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.1792, allocations: 35.06 kB / 450.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1793, allocations: 1.875 kB / 450.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1793, allocations: 3.062 kB / 450.1 MB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.1794, allocations: 44.06 kB / 450.2 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1794, allocations: 0 / 450.2 MB, free: 39.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.369e-05/0.1795, allocations: 25.47 kB / 450.2 MB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1795, allocations: 5.656 kB / 450.2 MB, free: 39.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.394e-05/0.1795, allocations: 141.2 kB / 450.3 MB, free: 39.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.1796, allocations: 26.89 kB / 450.3 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.1799, allocations: 217.3 kB / 450.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1799, allocations: 3.594 kB / 450.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1799, allocations: 0 / 450.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1799, allocations: 3.469 kB / 450.6 MB, free: 39.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.18, allocations: 199.1 kB / 450.8 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.18, allocations: 0 / 450.8 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.082e-05/0.1801, allocations: 23.67 kB / 450.8 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.1801, allocations: 0.8438 kB / 450.8 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1801, allocations: 13.94 kB / 450.8 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1801, allocations: 0 / 450.8 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1801, allocations: 0 / 450.8 MB, free: 39.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.1805, allocations: 325.2 kB / 451.1 MB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.1806, allocations: 14.7 kB / 451.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1806, allocations: 9.75 kB / 451.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.1807, allocations: 25.06 kB / 451.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.1808, allocations: 15.86 kB / 451.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.1809, allocations: 7.031 kB / 451.2 MB, free: 39.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.497e-05/0.181, allocations: 176.1 kB / 451.4 MB, free: 39.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.181, allocations: 0 / 451.4 MB, free: 39.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.1811, allocations: 43.31 kB / 451.4 MB, free: 39.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001202/0.1824, allocations: 1.177 MB / 452.6 MB, free: 38.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.1827, allocations: 242 kB / 452.8 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1827, allocations: 0 / 452.8 MB, free: 38.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1828, allocations: 77.31 kB / 452.9 MB, free: 38.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.183, allocations: 57.89 kB / 452.9 MB, free: 38.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1848, allocations: 2.314 MB / 455.3 MB, free: 36.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.604e-05/0.1849, allocations: 114.8 kB / 455.4 MB, free: 36.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.411e-05/0.185, allocations: 16.14 kB / 455.4 MB, free: 36.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.185, allocations: 62.66 kB / 455.4 MB, free: 36.59 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.185, allocations: 3.938 kB / 455.5 MB, free: 36.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.2024, allocations: 6.005 MB / 461.5 MB, free: 35.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.908, allocations: 7.203 kB / 461.5 MB, free: 35.01 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable trapezoid1.T_start in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.T_start from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! Error: Could not read variable trapezoid1.count in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat. Warning: Get data of variable trapezoid1.count from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.913389234803617]