Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001535/0.001535, allocations: 84.55 kB / 20.68 MB, free: 1.027 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.001818/0.001818, allocations: 163.2 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.523/1.523, allocations: 177.1 MB / 204.3 MB, free: 9.164 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.2176/0.2176, allocations: 34.28 MB / 295 MB, free: 14.55 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.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 442.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.853e-05/5.009e-05, allocations: 6.219 kB / 442.8 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003428/0.003478, allocations: 1.723 MB / 444.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.005486, allocations: 0.9664 MB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.00559, allocations: 4 kB / 445.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.005915, allocations: 51.69 kB / 445.5 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.006317, allocations: 91.55 kB / 445.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002803/0.006598, allocations: 83.53 kB / 445.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.006822, allocations: 111.6 kB / 445.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.006921, allocations: 7.984 kB / 445.8 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.007051, allocations: 51.78 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.007151, allocations: 31.89 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.007175, allocations: 8 kB / 445.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.007301, allocations: 39.98 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.72e-05/0.007368, allocations: 19.92 kB / 445.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/0.007424, allocations: 27.86 kB / 446 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.007684, allocations: 123.5 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.007686, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007687, allocations: 0 / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.007693, allocations: 0 / 446.1 MB, free: 1.938 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.0006414/0.008335, allocations: 349.5 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.008373, allocations: 8.031 kB / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.008424, allocations: 16.89 kB / 446.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.008684, allocations: 161.5 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.008699, allocations: 384 / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.008727, allocations: 4.375 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.008891, allocations: 54.23 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.008908, allocations: 3.938 kB / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.008919, allocations: 0 / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.008924, allocations: 0 / 446.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.789e-05/0.009012, allocations: 27.92 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.009405, allocations: 228.6 kB / 446.9 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.00961, allocations: 58.67 kB / 447 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.945e-05/0.00968, allocations: 24.78 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.009699, allocations: 4 kB / 447 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.009865, allocations: 71.27 kB / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.009866, allocations: 0 / 447.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006522/0.01052, allocations: 185.5 kB / 447.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.01057, allocations: 55.41 kB / 447.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.01081, allocations: 215 kB / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.01083, allocations: 29.7 kB / 447.6 MB, free: 332 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.01091, allocations: 112.1 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.01095, allocations: 27.78 kB / 447.7 MB, free: 188 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.01099, allocations: 21.7 kB / 447.7 MB, free: 160 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1952/0.2062, allocations: 325.3 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.2064, allocations: 18.95 kB / 448.1 MB, free: 19.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2065, allocations: 36.2 kB / 448.1 MB, free: 19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.2066, allocations: 63.45 kB / 448.2 MB, free: 18.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2066, allocations: 0 / 448.2 MB, free: 18.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002632/0.2069, allocations: 109.5 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2069, allocations: 4.719 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2069, allocations: 3.906 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/0.207, allocations: 2.141 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.2071, allocations: 15.55 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2071, allocations: 4.812 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.2071, allocations: 7.25 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2071, allocations: 3.312 kB / 448.3 MB, free: 18.95 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.0001056/0.2072, allocations: 132.6 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.2073, allocations: 11.72 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.2076, allocations: 118 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2076, allocations: 1.094 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2076, allocations: 5 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2076, allocations: 3.516 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.2081, allocations: 354.2 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2081, allocations: 0.8438 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.2081, allocations: 9.984 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2081, allocations: 5.703 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2081, allocations: 13.05 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2081, allocations: 1.719 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2081, allocations: 0 / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.2083, allocations: 213.7 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.2084, allocations: 15.7 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.2084, allocations: 5.906 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.2085, allocations: 4.922 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.2085, allocations: 6.672 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.2085, allocations: 8.562 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.2087, allocations: 158.4 kB / 449.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2087, allocations: 0 / 449.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.2089, allocations: 25.92 kB / 449.4 MB, free: 18.33 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.001867/0.2108, allocations: 0.492 MB / 449.9 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.211, allocations: 64.05 kB / 449.9 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.211, allocations: 0 / 449.9 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.2111, allocations: 34.11 kB / 450 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.2115, allocations: 33.98 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.212, allocations: 253 kB / 450.2 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.619e-05/0.2121, allocations: 91.7 kB / 450.3 MB, free: 17.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.369e-05/0.2122, allocations: 17.45 kB / 450.3 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.2122, allocations: 17.31 kB / 450.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2122, allocations: 1.25 kB / 450.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005732/0.2179, allocations: 1.852 MB / 452.2 MB, free: 17.65 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.978205885738134]