Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.0009362/0.0009362, allocations: 88.86 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.001642/0.001642, allocations: 159.4 kB / 24.91 MB, free: 8.719 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.941/0.941, allocations: 177 MB / 205.2 MB, free: 5.039 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.2647/0.2647, allocations: 34.86 MB / 296.6 MB, free: 468 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 326 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.308e-05/1.427e-05, allocations: 3.719 kB / 326 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002124/0.002138, allocations: 1.929 MB / 327.9 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.003526, allocations: 1.107 MB / 329.1 MB, free: 4.012 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.003605, allocations: 4 kB / 329.1 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.003896, allocations: 159.3 kB / 329.2 MB, free: 3.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.004225, allocations: 199.2 kB / 329.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.00444, allocations: 119.5 kB / 329.5 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.004662, allocations: 252 kB / 329.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.933e-05/0.004742, allocations: 22.59 kB / 329.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.004878, allocations: 139.6 kB / 329.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.004999, allocations: 111.7 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.005017, allocations: 8 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.005116, allocations: 71.89 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.005176, allocations: 51.78 kB / 330.2 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.005221, allocations: 51.78 kB / 330.2 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.005423, allocations: 183.3 kB / 330.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.005424, allocations: 0 / 330.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005425, allocations: 0 / 330.4 MB, free: 2.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.005428, allocations: 0 / 330.4 MB, free: 2.668 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000396/0.005824, allocations: 456.5 kB / 330.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.664e-05/0.005851, allocations: 12.03 kB / 330.9 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.005885, allocations: 16.92 kB / 330.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.006054, allocations: 205.8 kB / 331.1 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.006069, allocations: 12.36 kB / 331.1 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.006089, allocations: 8.375 kB / 331.1 MB, free: 1.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.006206, allocations: 111.3 kB / 331.2 MB, free: 1.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.006216, allocations: 8.156 kB / 331.2 MB, free: 1.793 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.006225, allocations: 4.375 kB / 331.2 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.00623, allocations: 3.938 kB / 331.2 MB, free: 1.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.927e-05/0.006269, allocations: 29.64 kB / 331.2 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.006525, allocations: 292.8 kB / 331.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.00671, allocations: 182.8 kB / 331.7 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.006741, allocations: 37.62 kB / 331.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.006751, allocations: 4 kB / 331.7 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.878e-05/0.00685, allocations: 107.9 kB / 331.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.006851, allocations: 0 / 331.9 MB, free: 1.074 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005157/0.007367, allocations: 320.6 kB / 332.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.0074, allocations: 81.11 kB / 332.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.007561, allocations: 300.6 kB / 332.5 MB, free: 352 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.007579, allocations: 29.7 kB / 332.6 MB, free: 316 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.007617, allocations: 109.2 kB / 332.7 MB, free: 200 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.007662, allocations: 75.41 kB / 332.8 MB, free: 124 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.007701, allocations: 37.69 kB / 332.8 MB, free: 80 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.731e-05/0.007788, allocations: 346.7 kB / 333.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.007819, allocations: 26.81 kB / 333.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.327e-05/0.007863, allocations: 56.05 kB / 333.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.184e-05/0.007945, allocations: 106 kB / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.007946, allocations: 0 / 333.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00012/0.008066, allocations: 143.1 kB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.008075, allocations: 4 kB / 333.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.008078, allocations: 0 / 333.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.00809, allocations: 8 kB / 333.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.008167, allocations: 39.92 kB / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.00817, allocations: 0 / 333.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.00821, allocations: 11.98 kB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.008219, allocations: 4 kB / 333.5 MB, free: 15.31 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.138e-05/0.00829, allocations: 136.6 kB / 333.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.008313, allocations: 23.97 kB / 333.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.008466, allocations: 151.3 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.00847, allocations: 4 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.008471, allocations: 0 / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.008476, allocations: 3.984 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.008845, allocations: 0.5594 MB / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.008847, allocations: 4.031 kB / 334.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.008895, allocations: 31.92 kB / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008897, allocations: 4 kB / 334.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.008907, allocations: 8 kB / 334.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.00891, allocations: 7.938 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.008911, allocations: 0 / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.009086, allocations: 410.4 kB / 334.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.009107, allocations: 27.8 kB / 334.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.00913, allocations: 11.94 kB / 334.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.0092, allocations: 19.92 kB / 334.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.009234, allocations: 23.95 kB / 334.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.009248, allocations: 8 kB / 334.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.006e-05/0.009328, allocations: 119.5 kB / 335 MB, free: 13.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009328, allocations: 0 / 335 MB, free: 13.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002007/0.009529, allocations: 51.92 kB / 335.1 MB, free: 13.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00126/0.01079, allocations: 0.6466 MB / 335.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.01092, allocations: 106.9 kB / 335.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.01092, allocations: 4 kB / 335.9 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.402e-05/0.01098, allocations: 60.7 kB / 335.9 MB, free: 13.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01123, allocations: 62.42 kB / 336 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.01167, allocations: 453.6 kB / 336.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.639e-05/0.01173, allocations: 92.69 kB / 336.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.511e-05/0.01179, allocations: 41.92 kB / 336.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.8e-05/0.01189, allocations: 99.34 kB / 336.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01189, allocations: 0 / 336.6 MB, free: 12.33 MB / 314.7 MB Notification: Performance of Templates: time 0.004721/0.01661, allocations: 3.618 MB / 340.3 MB, free: 8.773 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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: 2.9664723239839077]