Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 87.67 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9917/0.9917, allocations: 177 MB / 204.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2545/0.2545, allocations: 34.87 MB / 296.3 MB, free: 0.543 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.715e-05, allocations: 6.25 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001997/0.002014, allocations: 1.642 MB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007025/0.002716, allocations: 0.5564 MB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.345e-05/0.00277, allocations: 3.938 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.003017, allocations: 79.7 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.003278, allocations: 103.5 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.003499, allocations: 111.6 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.003645, allocations: 91.69 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.003733, allocations: 11.98 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.073e-05/0.003794, allocations: 47.89 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.00388, allocations: 47.88 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.003894, allocations: 4 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-05/0.003976, allocations: 47.92 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.004027, allocations: 27.91 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.004057, allocations: 11.94 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.004215, allocations: 99.53 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004217, allocations: 4 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004217, allocations: 0 / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.004221, allocations: 0 / 381.7 MB, free: 15.15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004147/0.004636, allocations: 435.9 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.004673, allocations: 8.031 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.00472, allocations: 16.84 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.004857, allocations: 149.1 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.004867, allocations: 4.375 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.315e-05/0.00489, allocations: 8.312 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.005004, allocations: 62.94 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.005015, allocations: 4.172 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.005025, allocations: 4.375 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005033, allocations: 384 / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.164e-05/0.005064, allocations: 11.94 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.005351, allocations: 295.7 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.888e-05/0.00542, allocations: 42.98 kB / 382.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.005444, allocations: 19.69 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.005462, allocations: 4.078 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.005484, allocations: 37.33 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.005485, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000492/0.005977, allocations: 173.3 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.006009, allocations: 59.34 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.00615, allocations: 242.4 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.006161, allocations: 25.7 kB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.006217, allocations: 154.9 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.006244, allocations: 27.73 kB / 383.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.006275, allocations: 27.38 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.006395, allocations: 0.4962 MB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.006417, allocations: 11.98 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.006437, allocations: 12 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.267e-05/0.00649, allocations: 35.67 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006491, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.919e-05/0.00658, allocations: 81.52 kB / 384.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.006591, allocations: 7.938 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.006595, allocations: 0 / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.006607, allocations: 4 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.006678, allocations: 19.98 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.006682, allocations: 320 / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.006699, allocations: 4 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.006706, allocations: 4 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.202e-05/0.006768, allocations: 156.6 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.006794, allocations: 19.84 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.006925, allocations: 95.05 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006927, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.006932, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.006935, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.007202, allocations: 373 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.007204, allocations: 3.984 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.364e-05/0.007238, allocations: 12 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.007241, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.007248, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.007251, allocations: 4 kB / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007252, allocations: 0 / 384.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.007372, allocations: 251.8 kB / 385 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.00738, allocations: 11.92 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.00739, allocations: 4 kB / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.202e-05/0.007422, allocations: 0 / 385 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.007449, allocations: 7.984 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.007456, allocations: 11.98 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.948e-05/0.007525, allocations: 167.2 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007525, allocations: 0 / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.007687, allocations: 31.86 kB / 385.3 MB, free: 11.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009432/0.00863, allocations: 425.3 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.008743, allocations: 43.59 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008744, allocations: 0 / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.008775, allocations: 35.61 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.008979, allocations: 19.94 kB / 385.8 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.009326, allocations: 233.9 kB / 386 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.385e-05/0.00937, allocations: 79.31 kB / 386.1 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.00941, allocations: 16.78 kB / 386.1 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.009439, allocations: 16.5 kB / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.00944, allocations: 0 / 386.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of Templates: time 0.003062/0.0125, allocations: 1.507 MB / 387.6 MB, free: 8.988 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.080959767103195]