Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.002047/0.002047, allocations: 103.5 kB / 20.97 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.001942/0.001942, allocations: 160.8 kB / 24.27 MB, free: 156 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.627/1.627, allocations: 177 MB / 204.5 MB, free: 5.617 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.3708/0.3708, allocations: 34.26 MB / 295.2 MB, free: 0.6328 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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 377.3 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.316e-05, allocations: 2.312 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003793/0.003826, allocations: 1.741 MB / 379 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.005888, allocations: 1.013 MB / 380.1 MB, free: 36 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.005966, allocations: 4 kB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.006326, allocations: 43.75 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003929/0.006719, allocations: 95.44 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.006954, allocations: 83.59 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.007176, allocations: 115.6 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.007282, allocations: 15.91 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.007406, allocations: 51.84 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.007514, allocations: 39.89 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.007548, allocations: 4 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.007772, allocations: 107.8 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.007833, allocations: 15.94 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.007892, allocations: 27.91 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.008249, allocations: 191.4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.008254, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.008255, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.008261, allocations: 3.938 kB / 380.8 MB, free: 15.25 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.000726/0.008987, allocations: 455.4 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.009031, allocations: 16.02 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.596e-05/0.009097, allocations: 8.891 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.009387, allocations: 160.1 kB / 381.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.009409, allocations: 8.375 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.009435, allocations: 4.328 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.009652, allocations: 107.2 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.009664, allocations: 192 / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.009679, allocations: 4.375 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.009687, allocations: 3.938 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.386e-05/0.009771, allocations: 15.98 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006655/0.01044, allocations: 279.8 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.01065, allocations: 71.05 kB / 381.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.01071, allocations: 23.8 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.01074, allocations: 4 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.01092, allocations: 76.98 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.01092, allocations: 4 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007011/0.01162, allocations: 185.4 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.0117, allocations: 89.03 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.01196, allocations: 233.8 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.01199, allocations: 29.7 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.01209, allocations: 146.9 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.56e-05/0.01214, allocations: 31.8 kB / 382.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.01221, allocations: 35.36 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003046/0.01251, allocations: 0.5001 MB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.01259, allocations: 23.98 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.0127, allocations: 95.94 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.01285, allocations: 75.3 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.01285, allocations: 3.938 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002399/0.01309, allocations: 117.5 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.01311, allocations: 4 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01311, allocations: 0 / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.01313, allocations: 4 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01325, allocations: 23.92 kB / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01325, allocations: 480 / 383.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.01331, allocations: 4 kB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.01332, allocations: 16.05 kB / 383.6 MB, free: 12.19 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 (13): * Single equations (assignments): 13 * 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.0001497/0.01347, allocations: 168.5 kB / 383.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.01351, allocations: 19.84 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.01381, allocations: 126.4 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.01381, allocations: 4 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01382, allocations: 0 / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01382, allocations: 0 / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.01445, allocations: 433 kB / 384.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.01446, allocations: 3.984 kB / 384.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.01451, allocations: 19.97 kB / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01451, allocations: 0 / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01453, allocations: 4 kB / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.01453, allocations: 4 kB / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01453, allocations: 0 / 384.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.01487, allocations: 283.4 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.0149, allocations: 7.953 kB / 384.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.01493, allocations: 4 kB / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.01501, allocations: 4 kB / 384.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.01506, allocations: 11.92 kB / 384.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.01508, allocations: 11.98 kB / 384.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001713/0.01525, allocations: 175.9 kB / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01525, allocations: 0 / 384.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.01557, allocations: 55.86 kB / 385 MB, free: 10.79 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 (11): * Single equations (assignments): 9 * 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.003954/0.01953, allocations: 0.5885 MB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.01985, allocations: 75.59 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.01985, allocations: 0 / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.01996, allocations: 47.61 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.02039, allocations: 43.8 kB / 385.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.02098, allocations: 222 kB / 385.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.02111, allocations: 89.56 kB / 386 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.374e-05/0.02118, allocations: 16.64 kB / 386 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.02125, allocations: 32.42 kB / 386.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.473e-06/0.02125, allocations: 0 / 386.1 MB, free: 9.82 MB / 362.7 MB Notification: Performance of Templates: time 0.007938/0.02919, allocations: 2.67 MB / 388.7 MB, free: 7.172 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0824858280830085]