Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001545/0.001545, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001246/0.001246, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.097/1.097, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2806/0.2806, allocations: 32.81 MB / 294.6 MB, free: 1.277 MB / 266.7 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.988e-05, allocations: 6.25 kB / 376.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002529/0.002559, allocations: 1.765 MB / 377.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.003888, allocations: 1.001 MB / 378.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.003975, allocations: 8 kB / 378.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.004258, allocations: 35.7 kB / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.004582, allocations: 99.47 kB / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.00479, allocations: 71.69 kB / 379.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.004959, allocations: 111.6 kB / 379.2 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.005056, allocations: 4 kB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.005147, allocations: 63.75 kB / 379.2 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.005226, allocations: 23.92 kB / 379.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.005243, allocations: 4 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.005335, allocations: 47.92 kB / 379.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.00539, allocations: 27.84 kB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.00543, allocations: 15.92 kB / 379.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.005617, allocations: 95.66 kB / 379.4 MB, free: 1.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.00562, allocations: 4 kB / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005621, allocations: 0 / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.005626, allocations: 0 / 379.5 MB, free: 1.496 MB / 346.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.0004871/0.006114, allocations: 439.9 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.006159, allocations: 8.031 kB / 379.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.006216, allocations: 12.88 kB / 379.9 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.006404, allocations: 152.3 kB / 380.1 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.006426, allocations: 8.375 kB / 380.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.006446, allocations: 4.375 kB / 380.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.006581, allocations: 62.94 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.006593, allocations: 3.938 kB / 380.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.006603, allocations: 3.984 kB / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.006611, allocations: 0 / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.006649, allocations: 11.98 kB / 380.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.006961, allocations: 279.7 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.007152, allocations: 55.17 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.007185, allocations: 23.61 kB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.007199, allocations: 4 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.007312, allocations: 72.94 kB / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.007314, allocations: 0 / 380.6 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004117/0.007725, allocations: 149.6 kB / 380.7 MB, free: 92 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.007758, allocations: 55.41 kB / 380.8 MB, free: 24 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.007906, allocations: 218.5 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.00792, allocations: 25.7 kB / 381 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.007977, allocations: 142.9 kB / 381.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.008005, allocations: 35.77 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-05/0.008049, allocations: 31.38 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.008175, allocations: 0.4923 MB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.008206, allocations: 12.17 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.008245, allocations: 39.36 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.054e-05/0.008306, allocations: 51.25 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.008307, allocations: 0 / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001219/0.008429, allocations: 93.58 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.008442, allocations: 4 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.008447, allocations: 7.969 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.008461, allocations: 4 kB / 381.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.008539, allocations: 12 kB / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.008545, allocations: 0 / 381.9 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.008577, allocations: 7.984 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.008583, allocations: 0 / 381.9 MB, free: 14.79 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 7.369e-05/0.008656, allocations: 164.5 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/0.008672, allocations: 11.95 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.008832, allocations: 110.5 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008833, allocations: 0 / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.008837, allocations: 4 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.00884, allocations: 0 / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.009145, allocations: 392.9 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009147, allocations: 0 / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.009177, allocations: 8 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009179, allocations: 0 / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.009191, allocations: 19.86 kB / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.009192, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.009194, allocations: 0 / 382.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.009344, allocations: 255.4 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.009356, allocations: 11.98 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.009374, allocations: 0 / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.592e-05/0.00942, allocations: 8 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.009455, allocations: 7.984 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.009469, allocations: 4 kB / 382.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.868e-05/0.009548, allocations: 167.9 kB / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009548, allocations: 0 / 383.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.00974, allocations: 27.92 kB / 383.1 MB, free: 13.53 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.0009783/0.01072, allocations: 440.1 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.01085, allocations: 51.59 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01085, allocations: 0 / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.01089, allocations: 31.62 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01114, allocations: 31.92 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.01154, allocations: 218.3 kB / 383.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.01159, allocations: 63.34 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.01163, allocations: 21.39 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.01166, allocations: 16.5 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01166, allocations: 0 / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003714/0.01537, allocations: 1.861 MB / 385.8 MB, free: 10.94 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.4133816440589726]