Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008482, allocations: 97.48 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 182 kB / 16.91 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4744/0.4744, allocations: 43.57 MB / 315 MB, free: 9.039 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006648/0.0006647, allocations: 20 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1832, allocations: 58.87 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002819/0.186, allocations: 1.421 MB / 444.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1877, allocations: 0.7729 MB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.1879, allocations: 0 / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.1883, allocations: 39.88 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.1885, allocations: 51.77 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.1888, allocations: 75.84 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.189, allocations: 91.69 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1892, allocations: 16.22 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.1893, allocations: 39.78 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1894, allocations: 31.84 kB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1894, allocations: 0 / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1895, allocations: 39.97 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.1896, allocations: 23.86 kB / 446 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.1897, allocations: 53.45 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.1899, allocations: 115.9 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1899, allocations: 4 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1899, allocations: 0 / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.1899, allocations: 4 kB / 446.2 MB, free: 10.11 MB / 382.1 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.0005743/0.1905, allocations: 399 kB / 446.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1906, allocations: 8.031 kB / 446.6 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.1906, allocations: 8.844 kB / 446.6 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1909, allocations: 216.7 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.1909, allocations: 384 / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1909, allocations: 16.06 kB / 446.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1911, allocations: 53.67 kB / 446.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1911, allocations: 0 / 446.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1911, allocations: 0 / 446.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1911, allocations: 4 kB / 446.9 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.695e-05/0.1912, allocations: 15.98 kB / 446.9 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.1916, allocations: 284.9 kB / 447.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.1918, allocations: 62.61 kB / 447.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.088e-05/0.1919, allocations: 28.84 kB / 447.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1919, allocations: 0 / 447.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.1921, allocations: 63.39 kB / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1921, allocations: 0 / 447.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005553/0.1927, allocations: 189.1 kB / 447.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.1928, allocations: 51.41 kB / 447.6 MB, free: 8.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.193, allocations: 191.3 kB / 447.8 MB, free: 8.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.193, allocations: 29.7 kB / 447.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.193, allocations: 104.1 kB / 447.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.1931, allocations: 23.7 kB / 447.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.1931, allocations: 13.72 kB / 447.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1933, allocations: 326.8 kB / 448.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.1933, allocations: 31.92 kB / 448.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.715e-05/0.1934, allocations: 37.7 kB / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.1935, allocations: 53.7 kB / 448.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1935, allocations: 3.938 kB / 448.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/0.1937, allocations: 101.4 kB / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1938, allocations: 8 kB / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1938, allocations: 4.031 kB / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1938, allocations: 0 / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1939, allocations: 15.98 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.1939, allocations: 4 kB / 448.5 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.676e-05/0.194, allocations: 3.938 kB / 448.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.194, allocations: 4 kB / 448.5 MB, free: 7.562 MB / 382.1 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 0.000136/0.1941, allocations: 141.7 kB / 448.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.1942, allocations: 7.906 kB / 448.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.1942, allocations: 21.55 kB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1942, allocations: 4 kB / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1942, allocations: 0 / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.1943, allocations: 3.938 kB / 448.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.1948, allocations: 399.2 kB / 449.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1948, allocations: 0 / 449.1 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.098e-05/0.1948, allocations: 8 kB / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1948, allocations: 0 / 449.1 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.1948, allocations: 7.922 kB / 449.1 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1949, allocations: 8.031 kB / 449.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1949, allocations: 0 / 449.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.1951, allocations: 204.2 kB / 449.3 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.321e-05/0.1952, allocations: 88.92 kB / 449.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.1952, allocations: 12.3 kB / 449.4 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1953, allocations: 4.188 kB / 449.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.1954, allocations: 8 kB / 449.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.1954, allocations: 11.92 kB / 449.4 MB, free: 6.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001349/0.1955, allocations: 152.9 kB / 449.6 MB, free: 6.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1955, allocations: 0 / 449.6 MB, free: 6.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1958, allocations: 27.98 kB / 449.6 MB, free: 6.367 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.001124/0.1969, allocations: 469.1 kB / 450.1 MB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1971, allocations: 63.89 kB / 450.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1971, allocations: 0 / 450.1 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.1972, allocations: 27.94 kB / 450.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1976, allocations: 23.97 kB / 450.2 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.1983, allocations: 254.5 kB / 450.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.1987, allocations: 0.7083 MB / 451.1 MB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.1988, allocations: 17.17 kB / 451.2 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.1989, allocations: 19.42 kB / 451.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1989, allocations: 3.938 kB / 451.2 MB, free: 4.773 MB / 382.1 MB Notification: Performance of Templates: time 0.005348/0.2042, allocations: 1.616 MB / 452.8 MB, free: 3.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches