Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001455/0.001455, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001736/0.001736, allocations: 156.9 kB / 24.27 MB, free: 172 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.484/1.484, allocations: 177 MB / 204.4 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.3332/0.3332, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.566e-05, allocations: 4.422 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003277/0.003312, allocations: 1.669 MB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.005245, allocations: 0.9581 MB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.672e-05/0.005322, allocations: 0 / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.005696, allocations: 67.67 kB / 380 MB, free: 104 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.006092, allocations: 115.5 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.006296, allocations: 75.58 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.00649, allocations: 107.6 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.006526, allocations: 4.234 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.00666, allocations: 63.75 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.00677, allocations: 47.88 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.006791, allocations: 4 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.006878, allocations: 35.92 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.006937, allocations: 19.88 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.006983, allocations: 19.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.007199, allocations: 103.7 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.007201, allocations: 0 / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007202, allocations: 0 / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.007206, allocations: 0 / 380.6 MB, free: 15.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006116/0.007817, allocations: 329.6 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.007857, allocations: 8.031 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.007922, allocations: 20.83 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.008217, allocations: 154.2 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.008233, allocations: 4.359 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.008248, allocations: 12.36 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.008397, allocations: 50.23 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.008407, allocations: 192 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.008416, allocations: 384 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.008424, allocations: 7.938 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.008506, allocations: 23.92 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.008713, allocations: 125.3 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.008889, allocations: 54.56 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.6e-05/0.008955, allocations: 20.84 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.00897, allocations: 4 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.009129, allocations: 59.39 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.009131, allocations: 4 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003377/0.009468, allocations: 109.5 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.009522, allocations: 55.34 kB / 381.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002478/0.009769, allocations: 202.7 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.00979, allocations: 25.7 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.009872, allocations: 104.1 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.009899, allocations: 11.91 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.009948, allocations: 25.7 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.01014, allocations: 326.8 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.57e-05/0.01019, allocations: 12 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.416e-05/0.01026, allocations: 29.7 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.01038, allocations: 49.64 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01039, allocations: 0 / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001751/0.01056, allocations: 77.64 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.01058, allocations: 11.94 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.01058, allocations: 0 / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.0106, allocations: 4.031 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/0.01068, allocations: 15.92 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01069, allocations: 4 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.01074, allocations: 7.938 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01075, allocations: 4 kB / 382.5 MB, free: 13.41 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 (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.0001283/0.01088, allocations: 124.1 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.01091, allocations: 15.91 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.01114, allocations: 99.06 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01114, allocations: 4.062 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.01115, allocations: 11.94 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01115, allocations: 0 / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.01133, allocations: 133.3 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01133, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.717e-05/0.01136, allocations: 4 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01136, allocations: 3.938 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01137, allocations: 7.984 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.01137, allocations: 0 / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01137, allocations: 0 / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.0116, allocations: 121 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.01163, allocations: 7.953 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.01165, allocations: 7.938 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.01169, allocations: 4 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.01174, allocations: 15.91 kB / 383 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.01176, allocations: 4 kB / 383 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.01194, allocations: 147.2 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01194, allocations: 0 / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000222/0.01216, allocations: 19.94 kB / 383.2 MB, free: 12.64 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: 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 (6): * Single equations (assignments): 4 * 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.001922/0.01408, allocations: 420.4 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.01427, allocations: 47.97 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01427, allocations: 3.938 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.01434, allocations: 23.98 kB / 383.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.01463, allocations: 23.97 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.01518, allocations: 216.5 kB / 383.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.01529, allocations: 89.38 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.01534, allocations: 16.55 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.01538, allocations: 16.5 kB / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01539, allocations: 0 / 384 MB, free: 11.9 MB / 362.7 MB Notification: Performance of Templates: time 0.005238/0.02062, allocations: 1.635 MB / 385.7 MB, free: 10.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.845212762942538]