Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.000933/0.000933, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009223/0.0009223, allocations: 169.5 kB / 24.92 MB, free: 8.258 MB / 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.9724/0.9724, allocations: 177 MB / 205.2 MB, free: 5.438 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.2814/0.2814, allocations: 34.87 MB / 296.6 MB, free: 432 kB / 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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.529e-05, allocations: 6.688 kB / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002548/0.002574, allocations: 1.759 MB / 327.8 MB, free: 5.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.003863, allocations: 1.009 MB / 328.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.003986, allocations: 0 / 328.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.004419, allocations: 39.66 kB / 328.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004996/0.004918, allocations: 91.53 kB / 328.9 MB, free: 4.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.005255, allocations: 91.59 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.005476, allocations: 108.4 kB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.005569, allocations: 11.97 kB / 329.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.005666, allocations: 55.78 kB / 329.2 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.005749, allocations: 31.89 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.005763, allocations: 4 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.005859, allocations: 39.94 kB / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.764e-05/0.005907, allocations: 15.92 kB / 329.3 MB, free: 3.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.005942, allocations: 23.91 kB / 329.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.00611, allocations: 99.66 kB / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.006114, allocations: 0 / 329.4 MB, free: 3.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.006116, allocations: 4 kB / 329.4 MB, free: 3.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.00612, allocations: 0 / 329.4 MB, free: 3.648 MB / 298.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.0004481/0.006568, allocations: 317.5 kB / 329.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.006606, allocations: 8.031 kB / 329.7 MB, free: 3.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.006645, allocations: 8.938 kB / 329.7 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.006829, allocations: 145.6 kB / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.006846, allocations: 384 / 329.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.006868, allocations: 8.375 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.006992, allocations: 57.77 kB / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.007001, allocations: 192 / 329.9 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.007009, allocations: 8.375 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.007016, allocations: 3.938 kB / 329.9 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.783e-05/0.007044, allocations: 15.92 kB / 329.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.007272, allocations: 165.9 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.647e-05/0.007368, allocations: 81.3 kB / 330.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.007388, allocations: 16.83 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.007405, allocations: 12.05 kB / 330.2 MB, free: 2.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.589e-05/0.007491, allocations: 58.16 kB / 330.3 MB, free: 2.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.435e-06/0.007493, allocations: 4 kB / 330.3 MB, free: 2.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003134/0.007807, allocations: 113.5 kB / 330.4 MB, free: 2.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.007843, allocations: 59.34 kB / 330.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.007952, allocations: 169 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.007967, allocations: 25.7 kB / 330.6 MB, free: 2.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.007999, allocations: 92.11 kB / 330.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.008026, allocations: 27.75 kB / 330.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.008061, allocations: 29.69 kB / 330.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.008146, allocations: 322.8 kB / 331.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.008164, allocations: 6.828 kB / 331.1 MB, free: 1.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.008192, allocations: 33.69 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.008237, allocations: 44.41 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008239, allocations: 4.375 kB / 331.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.134e-05/0.00832, allocations: 68.48 kB / 331.2 MB, free: 1.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.008334, allocations: 11.94 kB / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.008339, allocations: 0 / 331.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.008353, allocations: 4 kB / 331.3 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.938e-05/0.008422, allocations: 19.92 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.008426, allocations: 4 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.008455, allocations: 4.031 kB / 331.3 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.00846, allocations: 0 / 331.3 MB, free: 1.559 MB / 298.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 (10): * Single equations (assignments): 10 * 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 7.186e-05/0.008532, allocations: 116.7 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.008547, allocations: 15.92 kB / 331.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.008668, allocations: 75.08 kB / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.008671, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.008673, allocations: 0 / 331.5 MB, free: 1.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.00868, allocations: 3.984 kB / 331.5 MB, free: 1.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.008915, allocations: 283.5 kB / 331.8 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.008918, allocations: 3.938 kB / 331.8 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.008946, allocations: 16.03 kB / 331.8 MB, free: 1.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.00895, allocations: 4 kB / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.008956, allocations: 0 / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.008958, allocations: 240 / 331.8 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.00896, allocations: 3.984 kB / 331.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.00908, allocations: 215.8 kB / 332 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.009094, allocations: 15.84 kB / 332 MB, free: 0.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.009112, allocations: 8 kB / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.114e-05/0.009153, allocations: 0 / 332 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.009179, allocations: 7.984 kB / 332 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.009192, allocations: 8 kB / 332 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.009234, allocations: 53.27 kB / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009234, allocations: 0 / 332.1 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00015/0.009384, allocations: 27.88 kB / 332.1 MB, free: 0.6445 MB / 298.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 (9): * Single equations (assignments): 7 * 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.001257/0.01064, allocations: 0.5701 MB / 332.7 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.01075, allocations: 40.77 kB / 332.7 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01075, allocations: 0 / 332.7 MB, free: 316 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.01078, allocations: 20.86 kB / 332.8 MB, free: 292 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.01098, allocations: 38.12 kB / 332.8 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.0113, allocations: 216.2 kB / 333 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.01135, allocations: 67.47 kB / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.498e-05/0.01139, allocations: 21.27 kB / 333.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.643e-05/0.01145, allocations: 67.36 kB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01145, allocations: 0 / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of Templates: time 0.003618/0.01507, allocations: 2.012 MB / 335.2 MB, free: 13.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.0835147611796856]