Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001546/0.001546, allocations: 95.5 kB / 21.19 MB, free: 3.363 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.001713/0.001713, allocations: 160.5 kB / 24.56 MB, free: 4 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.051/1.051, allocations: 177 MB / 204.8 MB, free: 5.582 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.2855/0.2855, allocations: 34.86 MB / 296.3 MB, free: 0.5234 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.688e-05, allocations: 2.312 kB / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002349/0.002376, allocations: 1.764 MB / 380.6 MB, free: 208 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.003612, allocations: 1.02 MB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.838e-05/0.00369, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.004032, allocations: 55.7 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.004353, allocations: 99.53 kB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.004541, allocations: 79.59 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.004695, allocations: 107.6 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.004781, allocations: 7.984 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.004864, allocations: 59.77 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.004929, allocations: 23.92 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.004945, allocations: 11.98 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.00503, allocations: 43.92 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.005083, allocations: 31.86 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.00512, allocations: 19.92 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.005293, allocations: 119.5 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005295, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005296, allocations: 0 / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.005301, allocations: 0 / 382.3 MB, free: 14.53 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.0004531/0.005754, allocations: 471.6 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.005789, allocations: 16.02 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.005836, allocations: 16.84 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.005995, allocations: 169.2 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.006014, allocations: 4.375 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.00603, allocations: 384 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.00614, allocations: 66.88 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006149, allocations: 192 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.006158, allocations: 384 / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.006168, allocations: 11.92 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.006198, allocations: 7.984 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.006477, allocations: 299.8 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.006578, allocations: 59.09 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.006608, allocations: 19.69 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.006618, allocations: 0 / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.294e-05/0.006711, allocations: 68.98 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.006712, allocations: 3.938 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003531/0.007065, allocations: 165.3 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.007096, allocations: 55.39 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.007243, allocations: 273.6 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.007255, allocations: 29.7 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.007313, allocations: 166.9 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.007339, allocations: 27.78 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.00737, allocations: 31.36 kB / 384.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.00748, allocations: 0.504 MB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.007503, allocations: 11.98 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.00754, allocations: 39.25 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.007592, allocations: 47.36 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.007593, allocations: 0 / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001011/0.007694, allocations: 93.84 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.007706, allocations: 12.03 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.00771, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.007722, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.007786, allocations: 23.98 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.007791, allocations: 4 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.562e-05/0.007817, allocations: 0 / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.007823, allocations: 4 kB / 384.9 MB, free: 11.64 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 (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 6.665e-05/0.00789, allocations: 168.5 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.007907, allocations: 19.84 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.008042, allocations: 111 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.008044, allocations: 4 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.008046, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.00805, allocations: 0 / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.008314, allocations: 409 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.008315, allocations: 0 / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.008339, allocations: 12 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.00834, allocations: 0 / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.008348, allocations: 4 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.00835, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008351, allocations: 4 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.008489, allocations: 263.4 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.008502, allocations: 15.89 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.008518, allocations: 7.938 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.87e-05/0.008586, allocations: 4 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.008618, allocations: 7.984 kB / 385.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.00863, allocations: 4 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.547e-05/0.008726, allocations: 192.5 kB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008726, allocations: 0 / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.008895, allocations: 31.92 kB / 386.2 MB, free: 10.32 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 (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.0009255/0.009821, allocations: 436 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.009935, allocations: 51.61 kB / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.009936, allocations: 3.938 kB / 386.7 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.823e-05/0.009974, allocations: 35.66 kB / 386.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01019, allocations: 35.91 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.01053, allocations: 262.4 kB / 387 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.01057, allocations: 71.33 kB / 387 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.272e-05/0.0106, allocations: 25.38 kB / 387.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.01063, allocations: 20.5 kB / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01063, allocations: 0 / 387.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of Templates: time 0.0035/0.01413, allocations: 2.024 MB / 389.1 MB, free: 7.477 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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.240551761817187]