Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000952/0.0009522, allocations: 97.72 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.00104/0.00104, allocations: 177.7 kB / 16.92 MB, free: 6.668 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.893/1.893, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.5437/0.5437, allocations: 43.57 MB / 315 MB, free: 9 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.0006152/0.0006155, allocations: 16 kB / 384.6 MB, free: 7.867 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1838, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002627/0.1865, allocations: 1.558 MB / 445 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.188, allocations: 0.8703 MB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.46e-05/0.1881, allocations: 0 / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.1887, allocations: 243.5 kB / 446.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.189, allocations: 175.5 kB / 446.3 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.1894, allocations: 135.8 kB / 446.4 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.1897, allocations: 231.3 kB / 446.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1899, allocations: 21.55 kB / 446.7 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.19, allocations: 115.6 kB / 446.8 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1902, allocations: 175.4 kB / 447 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.1903, allocations: 4 kB / 447 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1904, allocations: 39.98 kB / 447 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.3e-05/0.1905, allocations: 63.75 kB / 447.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1906, allocations: 101 kB / 447.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.1909, allocations: 223.4 kB / 447.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1909, allocations: 0 / 447.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1909, allocations: 0 / 447.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.1909, allocations: 4 kB / 447.4 MB, free: 8.941 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000733/0.1917, allocations: 0.5215 MB / 447.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1917, allocations: 8.031 kB / 447.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.1918, allocations: 32.56 kB / 447.9 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1921, allocations: 288 kB / 448.2 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.1922, allocations: 4.375 kB / 448.2 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.1922, allocations: 12.03 kB / 448.2 MB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1925, allocations: 103.4 kB / 448.3 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1925, allocations: 3.984 kB / 448.3 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1925, allocations: 4 kB / 448.3 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.1925, allocations: 0 / 448.3 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.1926, allocations: 43.91 kB / 448.4 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.1932, allocations: 449 kB / 448.8 MB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1935, allocations: 113.3 kB / 448.9 MB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.52e-05/0.1936, allocations: 45.7 kB / 449 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1936, allocations: 0 / 449 MB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002782/0.1939, allocations: 117 kB / 449.1 MB, free: 7.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.1939, allocations: 0 / 449.1 MB, free: 7.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009246/0.1949, allocations: 379.6 kB / 449.5 MB, free: 6.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.195, allocations: 89.05 kB / 449.6 MB, free: 6.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.1954, allocations: 485.6 kB / 450 MB, free: 6.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1955, allocations: 33.7 kB / 450.1 MB, free: 6.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.1956, allocations: 156.4 kB / 450.2 MB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.1957, allocations: 47.36 kB / 450.3 MB, free: 5.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1957, allocations: 17.72 kB / 450.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1959, allocations: 346.8 kB / 450.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.196, allocations: 43.92 kB / 450.7 MB, free: 5.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.1961, allocations: 75.41 kB / 450.7 MB, free: 5.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1964, allocations: 115.3 kB / 450.8 MB, free: 5.191 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1964, allocations: 0 / 450.8 MB, free: 5.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003298/0.1967, allocations: 193.1 kB / 451 MB, free: 4.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1967, allocations: 4 kB / 451 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1968, allocations: 0 / 451 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.1968, allocations: 4 kB / 451 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.1969, allocations: 31.97 kB / 451.1 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.197, allocations: 7.938 kB / 451.1 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.806e-05/0.197, allocations: 8 kB / 451.1 MB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1971, allocations: 4 kB / 451.1 MB, free: 4.938 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001932/0.1973, allocations: 181.7 kB / 451.3 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.1973, allocations: 27.62 kB / 451.3 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.875e-05/0.1974, allocations: 46.8 kB / 451.3 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1974, allocations: 0.75 kB / 451.3 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.1974, allocations: 3.938 kB / 451.3 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1974, allocations: 4 kB / 451.4 MB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007721/0.1982, allocations: 0.6322 MB / 452 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1982, allocations: 0 / 452 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.1983, allocations: 23.98 kB / 452 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1983, allocations: 0 / 452 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1983, allocations: 8 kB / 452 MB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1983, allocations: 3.938 kB / 452 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1983, allocations: 4 kB / 452 MB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.1988, allocations: 372.1 kB / 452.4 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/0.1989, allocations: 108.7 kB / 452.5 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.1989, allocations: 4 kB / 452.5 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.1991, allocations: 11.98 kB / 452.5 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.1991, allocations: 15.92 kB / 452.5 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.1992, allocations: 11.94 kB / 452.5 MB, free: 3.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003769/0.1996, allocations: 367.1 kB / 452.9 MB, free: 3.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1996, allocations: 0 / 452.9 MB, free: 3.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000331/0.1999, allocations: 32 kB / 452.9 MB, free: 2.988 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001327/0.2012, allocations: 480.8 kB / 453.4 MB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003343/0.2016, allocations: 119.8 kB / 453.5 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2016, allocations: 0 / 453.5 MB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.2017, allocations: 55.92 kB / 453.6 MB, free: 2.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.2023, allocations: 57.58 kB / 453.6 MB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.2033, allocations: 0.5998 MB / 454.2 MB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.2037, allocations: 0.7713 MB / 455 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.364e-05/0.2038, allocations: 30.56 kB / 455 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.2038, allocations: 27.42 kB / 455.1 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2038, allocations: 0 / 455.1 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of Templates: time 0.2853/0.4891, allocations: 2.561 MB / 457.6 MB, free: 45.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches