Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001222/0.001222, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004014/0.004014, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8975/0.8975, allocations: 177.2 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2674/0.2674, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.7 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.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 440.9 MB, free: 3.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.56e-05/3.733e-05, allocations: 8.328 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003196/0.003234, allocations: 1.669 MB / 442.6 MB, free: 1.973 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.004849, allocations: 0.9625 MB / 443.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.004947, allocations: 0 / 443.6 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.005336, allocations: 67.66 kB / 443.6 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.005737, allocations: 111.5 kB / 443.7 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002145/0.005951, allocations: 71.67 kB / 443.8 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.006162, allocations: 111.6 kB / 443.9 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.006216, allocations: 8.234 kB / 443.9 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.006334, allocations: 55.83 kB / 444 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.006443, allocations: 39.89 kB / 444 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.006462, allocations: 4 kB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.006563, allocations: 39.86 kB / 444.1 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.006638, allocations: 23.91 kB / 444.1 MB, free: 492 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.006686, allocations: 15.94 kB / 444.1 MB, free: 476 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.006911, allocations: 103.6 kB / 444.2 MB, free: 372 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.006916, allocations: 0 / 444.2 MB, free: 372 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.006917, allocations: 0 / 444.2 MB, free: 372 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.006923, allocations: 0 / 444.2 MB, free: 372 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005727/0.007496, allocations: 341.6 kB / 444.5 MB, free: 0 / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.1959/0.2034, allocations: 11.67 kB / 444.5 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.37e-05/0.2035, allocations: 14.05 kB / 444.6 MB, free: 46.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.2038, allocations: 142.7 kB / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.2038, allocations: 5.125 kB / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.2038, allocations: 384 / 444.7 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.204, allocations: 57.14 kB / 444.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.204, allocations: 3.328 kB / 444.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.204, allocations: 0 / 444.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.204, allocations: 0 / 444.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.486e-05/0.2041, allocations: 21.33 kB / 444.8 MB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.2042, allocations: 132.3 kB / 444.9 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.2044, allocations: 53.34 kB / 445 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.2044, allocations: 20.53 kB / 445 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.2044, allocations: 0.6875 kB / 445 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.2046, allocations: 67.27 kB / 445.1 MB, free: 46.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 3.767e-06/0.2046, allocations: 0 / 445.1 MB, free: 46.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002216/0.2048, allocations: 104.5 kB / 445.2 MB, free: 46.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.2048, allocations: 54.64 kB / 445.2 MB, free: 46.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.2049, allocations: 197.5 kB / 445.4 MB, free: 46.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.2049, allocations: 27.55 kB / 445.4 MB, free: 46.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.205, allocations: 103 kB / 445.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.205, allocations: 19.17 kB / 445.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.205, allocations: 22.59 kB / 445.6 MB, free: 46.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.029e-05/0.2051, allocations: 323.1 kB / 445.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.396e-05/0.2051, allocations: 13.5 kB / 445.9 MB, free: 45.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.2052, allocations: 28.42 kB / 445.9 MB, free: 45.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.2052, allocations: 51.83 kB / 446 MB, free: 45.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2052, allocations: 0 / 446 MB, free: 45.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.228e-05/0.2053, allocations: 85 kB / 446.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2053, allocations: 8.75 kB / 446.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2053, allocations: 3.141 kB / 446.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2054, allocations: 0 / 446.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.2054, allocations: 10.56 kB / 446.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2054, allocations: 3.938 kB / 446.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.504e-05/0.2055, allocations: 4.219 kB / 446.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.2055, allocations: 9.812 kB / 446.1 MB, free: 45.7 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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 6.624e-05/0.2055, allocations: 128 kB / 446.2 MB, free: 45.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.2056, allocations: 10.05 kB / 446.2 MB, free: 45.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.2057, allocations: 97.44 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2057, allocations: 1.5 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2057, allocations: 0 / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2057, allocations: 3.938 kB / 446.3 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.473e-05/0.2058, allocations: 143.3 kB / 446.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2058, allocations: 3.875 kB / 446.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.918e-05/0.2058, allocations: 3 kB / 446.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2058, allocations: 3.125 kB / 446.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.2058, allocations: 0 / 446.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2058, allocations: 3.047 kB / 446.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2058, allocations: 0 / 446.5 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.2059, allocations: 127.6 kB / 446.6 MB, free: 45.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.2059, allocations: 10.75 kB / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.206, allocations: 0 / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.356e-05/0.206, allocations: 8.062 kB / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.206, allocations: 6.891 kB / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.206, allocations: 0 / 446.6 MB, free: 45.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.412e-05/0.2061, allocations: 159.2 kB / 446.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2061, allocations: 7.562 kB / 446.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.2063, allocations: 21.88 kB / 446.8 MB, free: 45.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007866/0.2071, allocations: 426 kB / 447.2 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.2072, allocations: 45.64 kB / 447.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2072, allocations: 2.25 kB / 447.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.2073, allocations: 18.77 kB / 447.3 MB, free: 45.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.2075, allocations: 31.94 kB / 447.3 MB, free: 45.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.2079, allocations: 241 kB / 447.6 MB, free: 44.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.354e-05/0.2079, allocations: 92.48 kB / 447.7 MB, free: 44.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.208, allocations: 16.66 kB / 447.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.208, allocations: 0 / 447.7 MB, free: 44.86 MB / 410.7 MB Notification: Performance of Templates: time 0.002753/0.2107, allocations: 1.782 MB / 449.5 MB, free: 44.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.788212294690311]