Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001307/0.001307, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001015/0.001015, allocations: 163 kB / 24.99 MB, free: 8.336 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 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.3132/0.3132, allocations: 34.26 MB / 296 MB, free: 0.7773 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 378.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.959e-05, allocations: 2.312 kB / 378.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002747/0.002777, allocations: 1.766 MB / 379.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.004299, allocations: 1.005 MB / 380.9 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.004413, allocations: 4 kB / 380.9 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.004807, allocations: 43.7 kB / 380.9 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005011/0.005308, allocations: 95.66 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.005648, allocations: 79.59 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.005903, allocations: 111.5 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.006038, allocations: 4 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.00615, allocations: 55.78 kB / 381.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/0.006249, allocations: 31.89 kB / 381.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.006269, allocations: 4 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.006386, allocations: 43.92 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.283e-05/0.006459, allocations: 27.92 kB / 381.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.006511, allocations: 19.92 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.006786, allocations: 99.59 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.006791, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006793, allocations: 0 / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.0068, allocations: 3.938 kB / 381.5 MB, free: 15.5 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.0005914/0.007391, allocations: 447.9 kB / 381.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.007438, allocations: 8.031 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.638e-05/0.007514, allocations: 16.84 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.00776, allocations: 153.1 kB / 382.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.007788, allocations: 4.375 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.007815, allocations: 8.375 kB / 382.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.007996, allocations: 66.92 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.008009, allocations: 3.938 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.008021, allocations: 0 / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.008033, allocations: 0 / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.309e-05/0.008076, allocations: 11.94 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.008463, allocations: 287.8 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.008591, allocations: 47.17 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.008632, allocations: 31.61 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.00865, allocations: 7.875 kB / 382.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001261/0.008776, allocations: 69.05 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.008778, allocations: 0 / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004695/0.009248, allocations: 149.4 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.009287, allocations: 51.41 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.009453, allocations: 242.3 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.00947, allocations: 25.7 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.009531, allocations: 150.9 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.009561, allocations: 27.78 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.009599, allocations: 31.38 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.009734, allocations: 0.4962 MB / 383.8 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.29e-05/0.009767, allocations: 11.98 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.855e-05/0.009805, allocations: 31.38 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.393e-05/0.009869, allocations: 59.3 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.00987, allocations: 0 / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001254/0.009996, allocations: 97.52 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.01001, allocations: 9.875 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01002, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.01003, allocations: 4.031 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.01012, allocations: 15.98 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01012, allocations: 4 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.01016, allocations: 0 / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.01016, allocations: 4 kB / 384 MB, free: 12.75 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.513e-05/0.01026, allocations: 172.4 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.01028, allocations: 15.94 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.01046, allocations: 95.14 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.01046, allocations: 0 / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.01047, allocations: 7.984 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.01048, allocations: 4 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.0108, allocations: 396.9 kB / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01081, allocations: 0 / 384.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.01084, allocations: 11.94 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.01085, allocations: 0 / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.01086, allocations: 7.984 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01086, allocations: 0 / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01086, allocations: 0 / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.01102, allocations: 259.4 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.01103, allocations: 15.91 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.01106, allocations: 8.406 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.314e-05/0.0111, allocations: 0 / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.01114, allocations: 11.98 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.01115, allocations: 8 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.344e-05/0.01124, allocations: 172.1 kB / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01124, allocations: 0 / 385.2 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001891/0.01143, allocations: 27.94 kB / 385.2 MB, free: 11.47 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.0009916/0.01242, allocations: 433.2 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.01258, allocations: 59.58 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01258, allocations: 0 / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.01262, allocations: 35.61 kB / 385.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.01288, allocations: 32.8 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.01328, allocations: 222 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.01332, allocations: 67.33 kB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.123e-05/0.01337, allocations: 21.09 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.0134, allocations: 16.5 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.273e-06/0.0134, allocations: 0 / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of Templates: time 0.004197/0.0176, allocations: 1.865 MB / 387.9 MB, free: 8.867 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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.1862259909976274]