Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001376/0.001376, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.00162/0.00162, allocations: 165 kB / 24.56 MB, free: 8 kB / 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 1.029/1.029, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2644/0.2644, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.549e-05, allocations: 2.312 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.00208/0.002105, allocations: 1.769 MB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003285, allocations: 1.005 MB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.421e-05/0.003359, allocations: 0 / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.00364, allocations: 47.62 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.003915, allocations: 103.5 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.004078, allocations: 79.61 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.004228, allocations: 111.6 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.004314, allocations: 4 kB / 381.2 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.963e-05/0.004394, allocations: 55.78 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.198e-05/0.004476, allocations: 31.89 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.004491, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/0.004572, allocations: 43.92 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.686e-05/0.004619, allocations: 23.91 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.004655, allocations: 19.94 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.004815, allocations: 103.6 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004817, allocations: 3.938 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004818, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.004822, allocations: 0 / 381.5 MB, free: 15.16 MB / 362.7 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.0004367/0.005258, allocations: 451.8 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.005297, allocations: 12.03 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.085e-05/0.005348, allocations: 16.88 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.005508, allocations: 156.9 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.005525, allocations: 4.375 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.005545, allocations: 4.375 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.005664, allocations: 62.94 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.005674, allocations: 3.938 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.005684, allocations: 7.922 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.005692, allocations: 4 kB / 382.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.005727, allocations: 11.98 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003024/0.00603, allocations: 283.8 kB / 382.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.006143, allocations: 51.17 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.006177, allocations: 23.56 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.00619, allocations: 8 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.76e-05/0.006288, allocations: 68.98 kB / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.006289, allocations: 0 / 382.7 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004111/0.0067, allocations: 165.3 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.006734, allocations: 51.41 kB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.006877, allocations: 233.9 kB / 383.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.006894, allocations: 33.7 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.006957, allocations: 154.8 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.006989, allocations: 27.78 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.007027, allocations: 31.36 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.00717, allocations: 0.5001 MB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.007197, allocations: 8 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.007238, allocations: 39.3 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.423e-05/0.007302, allocations: 51.3 kB / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.007304, allocations: 0 / 383.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001311/0.007435, allocations: 93.64 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.007452, allocations: 8 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.007458, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.007473, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.00755, allocations: 20.02 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.007558, allocations: 4 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.007588, allocations: 3.953 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.007597, allocations: 4 kB / 384.1 MB, free: 12.38 MB / 362.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 (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 9.274e-05/0.007689, allocations: 168.5 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.007706, allocations: 11.95 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.007886, allocations: 99.12 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.007889, allocations: 4 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.007894, allocations: 3.938 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.007898, allocations: 4 kB / 384.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.008204, allocations: 397 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.008206, allocations: 3.938 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.008234, allocations: 12 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.008237, allocations: 0 / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.008244, allocations: 0 / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.008249, allocations: 4 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.00825, allocations: 0 / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.008394, allocations: 255.4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.008409, allocations: 23.83 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.008426, allocations: 4.031 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.071e-05/0.008467, allocations: 4 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.008503, allocations: 12.36 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.008516, allocations: 4 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.275e-05/0.008599, allocations: 176.1 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008599, allocations: 0 / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001835/0.008782, allocations: 27.92 kB / 385.3 MB, free: 11.1 MB / 362.7 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.0009181/0.0097, allocations: 436.2 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.009848, allocations: 63.58 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.00985, allocations: 0 / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.009901, allocations: 39.59 kB / 385.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01016, allocations: 34.45 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.01061, allocations: 221.9 kB / 386 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.432e-05/0.01068, allocations: 71.33 kB / 386.1 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.291e-05/0.01072, allocations: 13.09 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.01076, allocations: 24.5 kB / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.01076, allocations: 0 / 386.1 MB, free: 10.31 MB / 362.7 MB Notification: Performance of Templates: time 0.003761/0.01452, allocations: 2.002 MB / 388.1 MB, free: 8.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.154929155949503]