Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001436/0.001436, allocations: 88.44 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001756/0.001756, allocations: 161.5 kB / 23.95 MB, free: 4.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 442.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.161e-05, allocations: 4.672 kB / 442.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003352/0.003384, allocations: 1.72 MB / 444.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.005461, allocations: 0.993 MB / 445.5 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.005542, allocations: 7.938 kB / 445.5 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.005869, allocations: 35.77 kB / 445.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.006285, allocations: 91.53 kB / 445.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.006541, allocations: 87.53 kB / 445.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.006781, allocations: 111.6 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.006897, allocations: 7.984 kB / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.007032, allocations: 63.83 kB / 445.9 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.007145, allocations: 31.89 kB / 445.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.007173, allocations: 8 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002471/0.00742, allocations: 107.8 kB / 446 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.007492, allocations: 27.86 kB / 446 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.00755, allocations: 27.91 kB / 446.1 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.007922, allocations: 175.5 kB / 446.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.007926, allocations: 0 / 446.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.007927, allocations: 0 / 446.2 MB, free: 1.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.007932, allocations: 0 / 446.2 MB, free: 1.688 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008324/0.008765, allocations: 353.4 kB / 446.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.008811, allocations: 12.03 kB / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.008886, allocations: 16.78 kB / 446.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.009216, allocations: 157.5 kB / 446.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.009231, allocations: 4.375 kB / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.009259, allocations: 8.375 kB / 446.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.009485, allocations: 93.66 kB / 446.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.009498, allocations: 192 / 446.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.009511, allocations: 384 / 446.9 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.00952, allocations: 3.938 kB / 446.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.455e-05/0.009605, allocations: 19.98 kB / 446.9 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.01, allocations: 224.5 kB / 447.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.01022, allocations: 62.61 kB / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.75e-05/0.0103, allocations: 32.97 kB / 447.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.01032, allocations: 0 / 447.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.0105, allocations: 83.25 kB / 447.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.01051, allocations: 0 / 447.3 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006983/0.0112, allocations: 217.3 kB / 447.5 MB, free: 300 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.01129, allocations: 81.11 kB / 447.6 MB, free: 200 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.01163, allocations: 172.3 kB / 447.7 MB, free: 20 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.194/0.2056, allocations: 25.7 kB / 447.8 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.2057, allocations: 96.8 kB / 447.9 MB, free: 19.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.2058, allocations: 32.44 kB / 447.9 MB, free: 19.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.2058, allocations: 28.61 kB / 447.9 MB, free: 19.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.2059, allocations: 325.3 kB / 448.2 MB, free: 18.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.206, allocations: 28.2 kB / 448.3 MB, free: 18.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.2061, allocations: 78.89 kB / 448.3 MB, free: 18.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.2063, allocations: 83.92 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2063, allocations: 0.9375 kB / 448.4 MB, free: 18.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003222/0.2066, allocations: 131.2 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.2066, allocations: 5.719 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.2066, allocations: 0 / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.2067, allocations: 1.219 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.2068, allocations: 24.7 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.2068, allocations: 1.703 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.2069, allocations: 10.73 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.2069, allocations: 3.266 kB / 448.6 MB, free: 18.67 MB / 366.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 (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 8.719e-05/0.207, allocations: 124.6 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.207, allocations: 13.25 kB / 448.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.2073, allocations: 134.6 kB / 448.9 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2073, allocations: 7.5 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2073, allocations: 4.672 kB / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.2073, allocations: 0 / 448.9 MB, free: 18.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.2078, allocations: 382 kB / 449.2 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2079, allocations: 0.9688 kB / 449.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.2079, allocations: 16.67 kB / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2079, allocations: 1.312 kB / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.2079, allocations: 2.922 kB / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2079, allocations: 1.281 kB / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2079, allocations: 0.5156 kB / 449.3 MB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.2082, allocations: 227.4 kB / 449.5 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.2082, allocations: 13.97 kB / 449.5 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.2082, allocations: 4.922 kB / 449.5 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.2083, allocations: 4.25 kB / 449.5 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.2084, allocations: 14.78 kB / 449.5 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.2084, allocations: 7.969 kB / 449.5 MB, free: 18.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.2085, allocations: 131.5 kB / 449.7 MB, free: 17.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2085, allocations: 0 / 449.7 MB, free: 17.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004224/0.2089, allocations: 50.64 kB / 449.7 MB, free: 17.98 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: 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 (11): * Single equations (assignments): 9 * 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.002143/0.2111, allocations: 0.5881 MB / 450.3 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.2113, allocations: 78.08 kB / 450.4 MB, free: 17.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2113, allocations: 5.312 kB / 450.4 MB, free: 17.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2114, allocations: 37.27 kB / 450.4 MB, free: 17.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.2117, allocations: 31.98 kB / 450.5 MB, free: 17.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.2122, allocations: 216.6 kB / 450.7 MB, free: 17.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.248e-05/0.2123, allocations: 90.55 kB / 450.8 MB, free: 17.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.2124, allocations: 23.84 kB / 450.8 MB, free: 17.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.2124, allocations: 21.72 kB / 450.8 MB, free: 17.46 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2124, allocations: 3.938 kB / 450.8 MB, free: 17.46 MB / 366.1 MB Notification: Performance of Templates: time 0.007059/0.2195, allocations: 2.673 MB / 453.5 MB, free: 17.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.942142613232136]