Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001997/0.001997, allocations: 99.53 kB / 20.96 MB, free: 3.453 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.001964/0.001964, allocations: 160.8 kB / 24.27 MB, free: 152 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.597/1.597, allocations: 177 MB / 204.4 MB, free: 5.621 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.3768/0.3768, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.28e-05/3.429e-05, allocations: 6.25 kB / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003348/0.003383, allocations: 1.607 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.004536, allocations: 0.5253 MB / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.004597, allocations: 0 / 379.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.004829, allocations: 31.78 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.005117, allocations: 83.56 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002773/0.005395, allocations: 95.62 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.005571, allocations: 59.83 kB / 379.6 MB, free: 492 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.005673, allocations: 11.98 kB / 379.6 MB, free: 480 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.599e-05/0.005749, allocations: 27.92 kB / 379.7 MB, free: 452 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.005822, allocations: 23.91 kB / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.005843, allocations: 0 / 379.7 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.346e-05/0.005937, allocations: 35.98 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.713e-05/0.005994, allocations: 11.94 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.006037, allocations: 19.86 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.006237, allocations: 83.66 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.00624, allocations: 0 / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.006241, allocations: 0 / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.006246, allocations: 0 / 379.8 MB, free: 276 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006341/0.00688, allocations: 423.8 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.006922, allocations: 8.031 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.347e-05/0.006985, allocations: 8.891 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.007203, allocations: 145 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.007219, allocations: 16.31 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.00724, allocations: 4.375 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.007376, allocations: 42.25 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.007387, allocations: 192 / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.007399, allocations: 4.125 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.007407, allocations: 4 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.911e-05/0.007496, allocations: 15.98 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.007918, allocations: 287.7 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.008154, allocations: 54.97 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.008208, allocations: 23.69 kB / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.00823, allocations: 3.938 kB / 380.8 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.008265, allocations: 37.47 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.008266, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005439/0.008809, allocations: 125.5 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.008861, allocations: 51.41 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.009097, allocations: 233.6 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.009118, allocations: 25.7 kB / 381.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.009229, allocations: 154.8 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.009255, allocations: 19.84 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.009305, allocations: 23.38 kB / 381.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/0.009597, allocations: 0.4962 MB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.009658, allocations: 15.98 kB / 382 MB, free: 13.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.264e-05/0.00971, allocations: 19.92 kB / 382 MB, free: 13.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.009823, allocations: 39.67 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.009824, allocations: 4 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001791/0.01, allocations: 77.58 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.01002, allocations: 8 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01002, allocations: 0 / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01003, allocations: 0 / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.01009, allocations: 15.98 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.0101, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.01013, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.01014, allocations: 8.188 kB / 382.2 MB, free: 13.7 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 (5): * Single equations (assignments): 5 * 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.0001348/0.01027, allocations: 164.5 kB / 382.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.01032, allocations: 19.83 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.01055, allocations: 82.14 kB / 382.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01055, allocations: 4 kB / 382.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01055, allocations: 0 / 382.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01055, allocations: 0 / 382.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.01103, allocations: 357.3 kB / 382.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01103, allocations: 0 / 382.8 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.957e-05/0.01108, allocations: 8 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01108, allocations: 0 / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.01109, allocations: 4 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01109, allocations: 3.984 kB / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01109, allocations: 0 / 382.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.01138, allocations: 231.8 kB / 383 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.0114, allocations: 7.938 kB / 383 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.01142, allocations: 4 kB / 383.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.01148, allocations: 4 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.01151, allocations: 4 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.01152, allocations: 0 / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001377/0.01165, allocations: 163.2 kB / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01165, allocations: 0 / 383.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.01188, allocations: 12 kB / 383.2 MB, free: 12.58 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 (5): * Single equations (assignments): 5 * 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.002854/0.01474, allocations: 438.1 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.01494, allocations: 47.66 kB / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01495, allocations: 0 / 383.7 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.239e-05/0.01503, allocations: 35.61 kB / 383.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.01536, allocations: 27.3 kB / 383.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.01587, allocations: 194.3 kB / 384 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.01598, allocations: 83.31 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.01602, allocations: 11.98 kB / 384 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.493e-05/0.01607, allocations: 16.48 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01607, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of Templates: time 0.004622/0.02069, allocations: 1.165 MB / 385.2 MB, free: 10.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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: 4.844772299053147]