Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001443/0.001443, allocations: 82.97 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.001539/0.001539, allocations: 164.2 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.534/1.534, allocations: 177.1 MB / 204.3 MB, free: 9.199 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.2183/0.2183, allocations: 34.29 MB / 295 MB, free: 14.59 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.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 442.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.306e-05, allocations: 2.281 kB / 442.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003412/0.003445, allocations: 1.723 MB / 444.5 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.005293, allocations: 0.9743 MB / 445.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.005368, allocations: 3.938 kB / 445.5 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.00569, allocations: 43.81 kB / 445.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.006042, allocations: 103.5 kB / 445.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.006262, allocations: 91.53 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.006478, allocations: 103.6 kB / 445.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.006587, allocations: 8 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.006705, allocations: 55.83 kB / 445.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.712e-05/0.006793, allocations: 27.91 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.006815, allocations: 4 kB / 445.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.006925, allocations: 47.91 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.007003, allocations: 27.86 kB / 446 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.007057, allocations: 19.94 kB / 446 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.007312, allocations: 143.5 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.007316, allocations: 4 kB / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.007316, allocations: 0 / 446.1 MB, free: 1.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.007328, allocations: 0 / 446.1 MB, free: 1.941 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.0007437/0.008072, allocations: 365.3 kB / 446.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.008117, allocations: 8.031 kB / 446.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.008174, allocations: 16.84 kB / 446.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.008438, allocations: 158.5 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.008447, allocations: 4.375 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.008475, allocations: 8.297 kB / 446.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.00865, allocations: 62.17 kB / 446.7 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.008668, allocations: 7.938 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.008677, allocations: 0 / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.008683, allocations: 0 / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.303e-05/0.008766, allocations: 23.98 kB / 446.8 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.009174, allocations: 232.6 kB / 447 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.009379, allocations: 62.61 kB / 447.1 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.345e-05/0.009442, allocations: 24.78 kB / 447.1 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.009454, allocations: 3.938 kB / 447.1 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.009622, allocations: 75.38 kB / 447.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.009624, allocations: 0 / 447.2 MB, free: 0.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000656/0.01028, allocations: 205.4 kB / 447.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.01033, allocations: 55.41 kB / 447.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.01065, allocations: 275 kB / 447.7 MB, free: 248 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.01068, allocations: 25.7 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.01077, allocations: 116.1 kB / 447.8 MB, free: 96 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.01081, allocations: 27.78 kB / 447.8 MB, free: 68 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.01085, allocations: 21.72 kB / 447.9 MB, free: 40 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2252/0.2361, allocations: 326.8 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.2362, allocations: 20.39 kB / 448.2 MB, free: 19.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/0.2363, allocations: 41.91 kB / 448.3 MB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2365, allocations: 61.31 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2365, allocations: 4.656 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002472/0.2367, allocations: 104.3 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2367, allocations: 5.188 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2367, allocations: 1.938 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.2368, allocations: 1.156 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2369, allocations: 16.92 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2369, allocations: 5.453 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.237, allocations: 6.75 kB / 448.5 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.237, allocations: 7.203 kB / 448.5 MB, free: 18.99 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.0001431/0.2371, allocations: 134.3 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.2371, allocations: 16.52 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.2374, allocations: 130.5 kB / 448.7 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2374, allocations: 1.062 kB / 448.7 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2374, allocations: 3.938 kB / 448.7 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2374, allocations: 0.75 kB / 448.7 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.2379, allocations: 359 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2379, allocations: 1.656 kB / 449.1 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/0.2379, allocations: 14.27 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2379, allocations: 1.094 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.238, allocations: 8.734 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.238, allocations: 1.125 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.238, allocations: 1.922 kB / 449.1 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.2382, allocations: 217.9 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.2382, allocations: 17.69 kB / 449.3 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.2382, allocations: 11.28 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.2383, allocations: 2.609 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.2384, allocations: 8.172 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.2384, allocations: 5.188 kB / 449.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.2386, allocations: 206.4 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2386, allocations: 0 / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.2388, allocations: 27.39 kB / 449.6 MB, free: 18.38 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.001883/0.2407, allocations: 0.4919 MB / 450.1 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.2409, allocations: 58.62 kB / 450.2 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2409, allocations: 5.188 kB / 450.2 MB, free: 18.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.241, allocations: 33.31 kB / 450.2 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2414, allocations: 30 kB / 450.2 MB, free: 18.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005677/0.242, allocations: 301.8 kB / 450.5 MB, free: 18.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.2421, allocations: 113.5 kB / 450.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.196e-05/0.2421, allocations: 17.81 kB / 450.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.2421, allocations: 17.02 kB / 450.7 MB, free: 17.92 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2421, allocations: 0 / 450.7 MB, free: 17.92 MB / 366.1 MB Notification: Performance of Templates: time 0.005865/0.248, allocations: 1.87 MB / 452.5 MB, free: 17.67 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test48.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: 5.0399869084358215]