Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008907/0.0008907, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9223/0.9223, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2889/0.2889, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.3e-05, allocations: 2.281 kB / 439.7 MB, free: 4.168 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002248/0.002271, allocations: 1.715 MB / 441.4 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003664, allocations: 0.9742 MB / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.003739, allocations: 0 / 442.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.004019, allocations: 39.78 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.00431, allocations: 103.5 kB / 442.5 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.004499, allocations: 79.59 kB / 442.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.004673, allocations: 103.7 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.00477, allocations: 11.92 kB / 442.7 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.004857, allocations: 55.83 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.004939, allocations: 27.91 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.004955, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.765e-05/0.005043, allocations: 43.92 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.005098, allocations: 27.86 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.005133, allocations: 19.92 kB / 442.9 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.005306, allocations: 123.6 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.005308, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005309, allocations: 0 / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.005313, allocations: 0 / 443 MB, free: 0.8281 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.000421/0.005734, allocations: 353.5 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.00577, allocations: 11.97 kB / 443.3 MB, free: 452 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.005798, allocations: 38.69 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.005828, allocations: 8.891 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.00601, allocations: 157.5 kB / 443.5 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.006022, allocations: 8.359 kB / 443.6 MB, free: 204 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.00604, allocations: 12.36 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.006184, allocations: 57.98 kB / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.006195, allocations: 0 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.006204, allocations: 0 / 443.6 MB, free: 128 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.006209, allocations: 4 kB / 443.6 MB, free: 124 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.006261, allocations: 15.98 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1836/0.1898, allocations: 261 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.19, allocations: 56.89 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.19, allocations: 20.58 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.19, allocations: 5.656 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.1902, allocations: 69.84 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.1902, allocations: 0 / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004231/0.1906, allocations: 185.2 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.1906, allocations: 54.47 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1907, allocations: 212.7 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1907, allocations: 28.7 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.1908, allocations: 104.1 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.1908, allocations: 31.64 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.1908, allocations: 26.09 kB / 444.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.1909, allocations: 327.3 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.1909, allocations: 22.91 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.198e-05/0.191, allocations: 35.59 kB / 445 MB, free: 45.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.931e-05/0.191, allocations: 59.86 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.191, allocations: 0 / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001/0.1911, allocations: 109.4 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1911, allocations: 5.875 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.1912, allocations: 0.5625 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1912, allocations: 6.594 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.1912, allocations: 13.84 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1912, allocations: 7.047 kB / 445.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.1913, allocations: 6.531 kB / 445.3 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.1913, allocations: 2.844 kB / 445.3 MB, free: 45.58 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 7.41e-05/0.1914, allocations: 132.5 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.1914, allocations: 20.22 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.1915, allocations: 123.3 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1915, allocations: 2.938 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1916, allocations: 0 / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1916, allocations: 3.875 kB / 445.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.1918, allocations: 372.9 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.1918, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.1919, allocations: 16.25 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1919, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1919, allocations: 5.25 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1919, allocations: 1.375 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1919, allocations: 3.328 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.192, allocations: 216.5 kB / 446.1 MB, free: 44.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.192, allocations: 20.7 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.192, allocations: 2.781 kB / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.1921, allocations: 0 / 446.2 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.1921, allocations: 10.22 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1921, allocations: 5.812 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.385e-05/0.1922, allocations: 154.3 kB / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1922, allocations: 0 / 446.3 MB, free: 44.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.1924, allocations: 30.83 kB / 446.4 MB, free: 44.87 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.0009637/0.1934, allocations: 1.142 MB / 447.5 MB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.1935, allocations: 64.12 kB / 447.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1935, allocations: 2.781 kB / 447.6 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.1935, allocations: 28.59 kB / 447.6 MB, free: 44.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.1937, allocations: 26.48 kB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/0.1947, allocations: 1.715 MB / 449.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.05e-05/0.1947, allocations: 97.84 kB / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.42e-05/0.1948, allocations: 19.72 kB / 449.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.1948, allocations: 39.08 kB / 449.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1948, allocations: 0 / 449.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.2094, allocations: 4.344 MB / 453.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.487/6.696, allocations: 2.812 kB / 453.8 MB, free: 41.21 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.761691745370626]