Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.00133/0.00133, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001463/0.001463, allocations: 168 kB / 23.95 MB, free: 4.16 MB / 14.72 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 1.476/1.476, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2163/0.2163, allocations: 34.28 MB / 295 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.616e-05, allocations: 2.281 kB / 442.7 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003061/0.003087, allocations: 1.642 MB / 444.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004243, allocations: 0.5492 MB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.004299, allocations: 3.938 kB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.004602, allocations: 95.73 kB / 445 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.004931, allocations: 119.4 kB / 445.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.005276, allocations: 118.7 kB / 445.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.005473, allocations: 99.73 kB / 445.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.005585, allocations: 23.98 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.005683, allocations: 59.81 kB / 445.4 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.005803, allocations: 59.86 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.005826, allocations: 4 kB / 445.5 MB, free: 2.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.00593, allocations: 47.92 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.005991, allocations: 31.84 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.00603, allocations: 15.94 kB / 445.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.006265, allocations: 135.5 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.006268, allocations: 0 / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.00627, allocations: 0 / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.006279, allocations: 0 / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005635/0.006842, allocations: 369.4 kB / 446 MB, free: 1.973 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.006881, allocations: 8.031 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.006932, allocations: 16.84 kB / 446.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.007155, allocations: 157.5 kB / 446.2 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.007173, allocations: 8.359 kB / 446.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.007202, allocations: 8.375 kB / 446.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.007392, allocations: 78.22 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.007406, allocations: 192 / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.007419, allocations: 4.125 kB / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.007423, allocations: 0 / 446.3 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.007553, allocations: 47.91 kB / 446.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.008016, allocations: 276.4 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.008171, allocations: 66.48 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.008243, allocations: 25 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.008265, allocations: 0 / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.008294, allocations: 42.55 kB / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.008295, allocations: 0 / 446.8 MB, free: 1.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001203/0.009497, allocations: 329.5 kB / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.009541, allocations: 55.41 kB / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.009814, allocations: 235.6 kB / 447.4 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.009837, allocations: 29.7 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.009913, allocations: 108.1 kB / 447.5 MB, free: 392 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.009963, allocations: 55.62 kB / 447.6 MB, free: 336 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.01002, allocations: 25.72 kB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1738/0.1838, allocations: 326.4 kB / 447.9 MB, free: 18.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.1841, allocations: 46.98 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1842, allocations: 51.83 kB / 448 MB, free: 18.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1844, allocations: 108.3 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1844, allocations: 0 / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003372/0.1848, allocations: 155.9 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1848, allocations: 6.156 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1848, allocations: 2.672 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1848, allocations: 1.188 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.185, allocations: 27.28 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.185, allocations: 12.78 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.185, allocations: 7.75 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.185, allocations: 4.547 kB / 448.3 MB, free: 18.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000115/0.1851, allocations: 140.4 kB / 448.5 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.1852, allocations: 14.58 kB / 448.5 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.1856, allocations: 183.7 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.1856, allocations: 1.906 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1856, allocations: 7.75 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.1856, allocations: 1.734 kB / 448.7 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.1862, allocations: 427.5 kB / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1862, allocations: 0 / 449.1 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.557e-05/0.1863, allocations: 37.8 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1863, allocations: 1.219 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1863, allocations: 2.141 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1863, allocations: 1.906 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1863, allocations: 3.969 kB / 449.1 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.1866, allocations: 253 kB / 449.4 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.1866, allocations: 18.94 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.1867, allocations: 2.188 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.1867, allocations: 6.094 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.1868, allocations: 16.97 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.1868, allocations: 4.094 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1869, allocations: 184.1 kB / 449.6 MB, free: 18.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1869, allocations: 0 / 449.6 MB, free: 18.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1872, allocations: 31.11 kB / 449.6 MB, free: 18.21 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001786/0.189, allocations: 488.7 kB / 450.1 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1893, allocations: 116.2 kB / 450.2 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1893, allocations: 1.406 kB / 450.2 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1894, allocations: 60.67 kB / 450.3 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1898, allocations: 28 kB / 450.3 MB, free: 18.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.1904, allocations: 321.5 kB / 450.6 MB, free: 17.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.1905, allocations: 112 kB / 450.7 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.1906, allocations: 31.72 kB / 450.8 MB, free: 17.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.1907, allocations: 22.11 kB / 450.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1907, allocations: 0 / 450.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of Templates: time 0.005195/0.1958, allocations: 1.615 MB / 452.4 MB, free: 17.5 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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: 4.808562055230141]