Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001381/0.001381, allocations: 84.69 kB / 20.68 MB, free: 1.035 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.001457/0.001457, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.405/1.405, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.2032/0.2032, allocations: 32.81 MB / 293.5 MB, free: 40 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.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 440.2 MB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.131e-05, allocations: 2.281 kB / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002741/0.002763, allocations: 1.719 MB / 441.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.004448, allocations: 0.9664 MB / 442.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.928e-05/0.004517, allocations: 3.938 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.004829, allocations: 83.7 kB / 442.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.005156, allocations: 123.4 kB / 443.1 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.005356, allocations: 75.61 kB / 443.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.005557, allocations: 119.6 kB / 443.3 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.00564, allocations: 4 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.005765, allocations: 71.8 kB / 443.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.005872, allocations: 51.88 kB / 443.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.005892, allocations: 4 kB / 443.4 MB, free: 4.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.356e-05/0.005986, allocations: 43.92 kB / 443.4 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.179e-05/0.006047, allocations: 31.86 kB / 443.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.006102, allocations: 23.91 kB / 443.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.006315, allocations: 127.5 kB / 443.6 MB, free: 4.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.00632, allocations: 3.984 kB / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.00632, allocations: 0 / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.646e-06/0.006324, allocations: 0 / 443.6 MB, free: 4.617 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.0005613/0.006885, allocations: 353.5 kB / 444 MB, free: 4.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.006918, allocations: 8.031 kB / 444 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.006968, allocations: 20.84 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.007184, allocations: 153.5 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.007198, allocations: 4.375 kB / 444.1 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.007222, allocations: 4.375 kB / 444.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.007384, allocations: 58.17 kB / 444.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.007397, allocations: 3.938 kB / 444.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.007408, allocations: 0 / 444.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.007413, allocations: 0 / 444.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.757e-05/0.007491, allocations: 19.98 kB / 444.2 MB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.007868, allocations: 236.6 kB / 444.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.00806, allocations: 54.62 kB / 444.5 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.008124, allocations: 36.72 kB / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.00814, allocations: 0 / 444.5 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.008347, allocations: 67.39 kB / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.008349, allocations: 0 / 444.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006175/0.008966, allocations: 189.3 kB / 444.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.009011, allocations: 55.39 kB / 444.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.009272, allocations: 223.5 kB / 445.1 MB, free: 3.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.009298, allocations: 33.69 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.009382, allocations: 108.1 kB / 445.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.009419, allocations: 35.78 kB / 445.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.009463, allocations: 21.72 kB / 445.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.009624, allocations: 326.8 kB / 445.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.009687, allocations: 19.98 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.233e-05/0.009759, allocations: 33.7 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.00991, allocations: 69.58 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.009911, allocations: 0 / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002175/0.01013, allocations: 105.6 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.01015, allocations: 14.84 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.01016, allocations: 0 / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.01018, allocations: 3.984 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.01029, allocations: 15.98 kB / 445.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.0103, allocations: 4 kB / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.01035, allocations: 4.328 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.01036, allocations: 4 kB / 445.9 MB, free: 2.188 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 (10): * Single equations (assignments): 10 * 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.0001592/0.01052, allocations: 135 kB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.01054, allocations: 7.953 kB / 446 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.01085, allocations: 127.1 kB / 446.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01086, allocations: 4 kB / 446.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01086, allocations: 0 / 446.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01087, allocations: 0 / 446.1 MB, free: 1.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006645/0.01153, allocations: 359.2 kB / 446.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01153, allocations: 0 / 446.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.396e-05/0.01158, allocations: 15.94 kB / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01158, allocations: 7.922 kB / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01159, allocations: 0 / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.0116, allocations: 0 / 446.5 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.0116, allocations: 4 kB / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.01193, allocations: 220.2 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/0.01196, allocations: 15.89 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.01198, allocations: 3.984 kB / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.01206, allocations: 4 kB / 446.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.01211, allocations: 3.984 kB / 446.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.872e-05/0.01213, allocations: 11.94 kB / 446.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.01232, allocations: 177.1 kB / 446.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01232, allocations: 0 / 446.9 MB, free: 1.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.01259, allocations: 23.98 kB / 446.9 MB, free: 1.02 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 (9): * Single equations (assignments): 7 * 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.001909/0.0145, allocations: 491.7 kB / 447.4 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.01469, allocations: 63.91 kB / 447.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01469, allocations: 0 / 447.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.01478, allocations: 35.97 kB / 447.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.01512, allocations: 30.97 kB / 447.6 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.01565, allocations: 254.6 kB / 447.8 MB, free: 344 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001463/0.0158, allocations: 100.7 kB / 447.9 MB, free: 224 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.715e-05/0.01584, allocations: 16.97 kB / 447.9 MB, free: 208 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.01588, allocations: 20.56 kB / 447.9 MB, free: 188 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01589, allocations: 0 / 447.9 MB, free: 188 kB / 366.1 MB Notification: Performance of Templates: time 0.1622/0.1781, allocations: 1.854 MB / 449.8 MB, free: 21.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.516111962497234]