Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001916/0.001916, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001989/0.001989, allocations: 160.8 kB / 24.27 MB, free: 160 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 1.603/1.603, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.3421/0.3421, allocations: 34.26 MB / 295.2 MB, free: 0.6484 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.158e-05, allocations: 2.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003855/0.003887, allocations: 1.661 MB / 378.9 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.006236, allocations: 1.305 MB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.006303, allocations: 0 / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.006535, allocations: 23.8 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.006922, allocations: 87.55 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.007402, allocations: 179.4 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.0076, allocations: 87.69 kB / 380.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.007707, allocations: 7.984 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.007808, allocations: 39.91 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.00795, allocations: 35.91 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.007972, allocations: 4 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000221/0.008193, allocations: 91.81 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.008268, allocations: 23.91 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.008306, allocations: 12 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005836/0.00889, allocations: 163.4 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.008895, allocations: 8 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008897, allocations: 0 / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.008901, allocations: 0 / 380.9 MB, free: 15.17 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.0006577/0.009559, allocations: 431.7 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.009598, allocations: 15.97 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.968e-05/0.009678, allocations: 8.891 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.009916, allocations: 144.4 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.009929, allocations: 4.375 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.009954, allocations: 4.375 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.01017, allocations: 99.31 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.01018, allocations: 4.188 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.0102, allocations: 4.359 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.01021, allocations: 4.375 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.01033, allocations: 27.92 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.01084, allocations: 303.7 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.01098, allocations: 47.05 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/0.01104, allocations: 15.69 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.01107, allocations: 4 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.01112, allocations: 45.42 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.01112, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007592/0.01188, allocations: 181.2 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.01195, allocations: 77.11 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.01216, allocations: 208.9 kB / 382.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.01218, allocations: 29.7 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01229, allocations: 146.9 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.01232, allocations: 31.75 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.01238, allocations: 27.36 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/0.01267, allocations: 0.4923 MB / 383.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.862e-05/0.01277, allocations: 23.97 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.0129, allocations: 69.06 kB / 383.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.01309, allocations: 67.94 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01309, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000267/0.01336, allocations: 97.53 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.01338, allocations: 8 kB / 383.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.01339, allocations: 3.984 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.0134, allocations: 0 / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.01353, allocations: 12 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01353, allocations: 0 / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.01359, allocations: 7.984 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.01361, allocations: 11.94 kB / 383.6 MB, free: 12.31 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 (7): * Single equations (assignments): 7 * 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.0001367/0.01374, allocations: 160.6 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.01379, allocations: 15.89 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003261/0.01412, allocations: 106.4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01412, allocations: 0 / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.01413, allocations: 4 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01413, allocations: 4 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006145/0.01474, allocations: 377.3 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.01475, allocations: 0 / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.263e-05/0.01483, allocations: 19.94 kB / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01483, allocations: 0 / 384.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.01485, allocations: 3.984 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.01485, allocations: 0 / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01485, allocations: 4 kB / 384.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.01523, allocations: 243.8 kB / 384.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.547e-05/0.01525, allocations: 11.94 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/0.01527, allocations: 0 / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.01537, allocations: 8 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.01541, allocations: 3.984 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.01541, allocations: 8 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.01556, allocations: 159.2 kB / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.01556, allocations: 0 / 384.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002978/0.01585, allocations: 39.88 kB / 384.7 MB, free: 11.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.003353/0.01921, allocations: 0.5198 MB / 385.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003217/0.01953, allocations: 63.64 kB / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01953, allocations: 0 / 385.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.01966, allocations: 51.59 kB / 385.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.02001, allocations: 31.88 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/0.02066, allocations: 208.8 kB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.02077, allocations: 83.31 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.02088, allocations: 32.98 kB / 385.7 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.02093, allocations: 16.5 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.02094, allocations: 0 / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Templates: time 0.006512/0.02745, allocations: 2.005 MB / 387.7 MB, free: 8.215 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.100445736083202]