Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001468/0.001468, allocations: 85.17 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.001603/0.001603, allocations: 164.4 kB / 23.95 MB, free: 4.156 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.421/1.421, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1995/0.1995, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.452e-05, allocations: 2.281 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002892/0.002917, allocations: 1.668 MB / 441.8 MB, free: 6.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.004041, allocations: 0.5686 MB / 442.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.548e-05/0.004106, allocations: 4 kB / 442.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006595/0.004766, allocations: 459 kB / 442.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004954/0.005261, allocations: 299.1 kB / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.005703, allocations: 172.8 kB / 443.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.005971, allocations: 187.5 kB / 443.4 MB, free: 4.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.00607, allocations: 20.22 kB / 443.5 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.006221, allocations: 123.8 kB / 443.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002659/0.006487, allocations: 239.6 kB / 443.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.006511, allocations: 4 kB / 443.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.006631, allocations: 55.86 kB / 443.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.006736, allocations: 87.69 kB / 444 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.006792, allocations: 35.75 kB / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.007137, allocations: 263 kB / 444.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.00714, allocations: 0 / 444.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.00714, allocations: 0 / 444.3 MB, free: 3.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.007146, allocations: 0 / 444.3 MB, free: 3.973 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007415/0.007887, allocations: 0.5737 MB / 444.8 MB, free: 3.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.00792, allocations: 8.031 kB / 444.8 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.007987, allocations: 48.66 kB / 444.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.008257, allocations: 250 kB / 445.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.00827, allocations: 4.375 kB / 445.1 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.008288, allocations: 384 / 445.1 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.008453, allocations: 66.23 kB / 445.2 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.008464, allocations: 8.125 kB / 445.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.008476, allocations: 8.109 kB / 445.2 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.008484, allocations: 0 / 445.2 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.0086, allocations: 31.92 kB / 445.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.009089, allocations: 344.3 kB / 445.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.009215, allocations: 46.53 kB / 445.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.009271, allocations: 20.94 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.009293, allocations: 4 kB / 445.7 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.009323, allocations: 38.55 kB / 445.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.009324, allocations: 0 / 445.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009886/0.01031, allocations: 336.5 kB / 446 MB, free: 2.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.01036, allocations: 55.39 kB / 446.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.0113, allocations: 0.8653 MB / 446.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.01132, allocations: 25.7 kB / 447 MB, free: 1.113 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.01151, allocations: 216.1 kB / 447.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.01155, allocations: 31.69 kB / 447.2 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.0116, allocations: 25.7 kB / 447.2 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.0118, allocations: 366.7 kB / 447.6 MB, free: 480 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.01189, allocations: 27.97 kB / 447.6 MB, free: 452 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.566e-05/0.01199, allocations: 27.98 kB / 447.6 MB, free: 424 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.01218, allocations: 84.75 kB / 447.7 MB, free: 336 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01218, allocations: 0 / 447.7 MB, free: 336 kB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003048/0.01249, allocations: 145.4 kB / 447.9 MB, free: 184 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.0125, allocations: 8 kB / 447.9 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01251, allocations: 0 / 447.9 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.01252, allocations: 0 / 447.9 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01264, allocations: 15.98 kB / 447.9 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.01265, allocations: 4 kB / 447.9 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.103e-05/0.01271, allocations: 7.984 kB / 447.9 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.01272, allocations: 8 kB / 447.9 MB, free: 140 kB / 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 (8): * Single equations (assignments): 8 * 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.1802/0.1929, allocations: 214 kB / 448.1 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1931, allocations: 46.17 kB / 448.2 MB, free: 21.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.1936, allocations: 168.2 kB / 448.3 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1936, allocations: 4.375 kB / 448.3 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1936, allocations: 4.391 kB / 448.3 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1936, allocations: 4.375 kB / 448.3 MB, free: 21.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000753/0.1943, allocations: 468.6 kB / 448.8 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1943, allocations: 1.125 kB / 448.8 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.1944, allocations: 18.67 kB / 448.8 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.1944, allocations: 1.75 kB / 448.8 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1945, allocations: 4.641 kB / 448.8 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1945, allocations: 4.625 kB / 448.8 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.1945, allocations: 1.703 kB / 448.8 MB, free: 20.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.1948, allocations: 250.4 kB / 449.1 MB, free: 20.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.1948, allocations: 37.92 kB / 449.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.1948, allocations: 5 kB / 449.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.1949, allocations: 9.141 kB / 449.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.195, allocations: 9.094 kB / 449.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.195, allocations: 3.219 kB / 449.1 MB, free: 20.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007341/0.1957, allocations: 0.6489 MB / 449.8 MB, free: 20.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1957, allocations: 1.344 kB / 449.8 MB, free: 20.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.196, allocations: 30.95 kB / 449.8 MB, free: 20.66 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 (8): * Single equations (assignments): 8 * 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.001729/0.1978, allocations: 491.9 kB / 450.3 MB, free: 20.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.1981, allocations: 77.94 kB / 450.4 MB, free: 20.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1981, allocations: 2.594 kB / 450.4 MB, free: 20.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.1982, allocations: 42.55 kB / 450.4 MB, free: 20.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1986, allocations: 32.56 kB / 450.5 MB, free: 20.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1998, allocations: 0.8409 MB / 451.3 MB, free: 20.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.2001, allocations: 229.8 kB / 451.5 MB, free: 20.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.579e-05/0.2002, allocations: 25.53 kB / 451.5 MB, free: 20.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.154e-05/0.2002, allocations: 15.19 kB / 451.6 MB, free: 20 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2002, allocations: 0 / 451.6 MB, free: 20 MB / 366.1 MB Notification: Performance of Templates: time 0.005735/0.206, allocations: 1.608 MB / 453.2 MB, free: 19.76 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.625140056014061]