Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.0009228/0.0009228, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009199/0.0009199, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.02/1.02, allocations: 177 MB / 205.1 MB, free: 5.484 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.2705/0.2705, allocations: 34.87 MB / 296.6 MB, free: 0.4961 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.098e-05, allocations: 14.19 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003363/0.003394, allocations: 1.77 MB / 381.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.005019, allocations: 1.013 MB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.005097, allocations: 0 / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.00538, allocations: 91.61 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.005684, allocations: 123.4 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.005867, allocations: 83.59 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.006025, allocations: 123.6 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.95e-05/0.006114, allocations: 15.98 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.905e-05/0.006203, allocations: 67.81 kB / 382.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.006297, allocations: 63.86 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.006311, allocations: 4 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.224e-05/0.006403, allocations: 63.91 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.445e-05/0.006447, allocations: 27.86 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.006483, allocations: 27.91 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.00664, allocations: 119.5 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.006642, allocations: 0 / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006643, allocations: 0 / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.006647, allocations: 3.984 kB / 382.9 MB, free: 14.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003882/0.007035, allocations: 463.7 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.007068, allocations: 12.03 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/0.007103, allocations: 20.84 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.007237, allocations: 165.1 kB / 383.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.007252, allocations: 4.312 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.007268, allocations: 4.375 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.758e-05/0.007365, allocations: 66.92 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.007374, allocations: 192 / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.00738, allocations: 384 / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.007387, allocations: 3.938 kB / 383.6 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.007412, allocations: 11.98 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.007652, allocations: 280.4 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.007778, allocations: 54.97 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.007801, allocations: 19.67 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.007814, allocations: 0 / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.031e-05/0.007894, allocations: 73.09 kB / 384.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.007895, allocations: 0 / 384.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000401/0.008296, allocations: 193.3 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.00832, allocations: 55.41 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.008446, allocations: 263 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.008458, allocations: 25.7 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.008516, allocations: 158.8 kB / 384.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.008546, allocations: 35.69 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.008581, allocations: 39.36 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.008695, allocations: 0.4962 MB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.128e-05/0.008716, allocations: 15.98 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.008747, allocations: 47.28 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.246e-05/0.0088, allocations: 59.28 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.008801, allocations: 4 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000102/0.008903, allocations: 101.5 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.008912, allocations: 4 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.008917, allocations: 4 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.008927, allocations: 3.938 kB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.068e-05/0.008977, allocations: 19.98 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.008981, allocations: 0.7031 kB / 385.6 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.009006, allocations: 8 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.009012, allocations: 4 kB / 385.6 MB, free: 11.23 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 7.039e-05/0.009083, allocations: 175.2 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.009108, allocations: 19.84 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.009252, allocations: 123 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.009255, allocations: 4 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.009257, allocations: 0 / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.009261, allocations: 3.984 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.009537, allocations: 405.2 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.00954, allocations: 7.984 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.009569, allocations: 12 kB / 386.3 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.009572, allocations: 4.062 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.009578, allocations: 4 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.00958, allocations: 0 / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009581, allocations: 0 / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.009734, allocations: 291.3 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.387e-05/0.009748, allocations: 19.88 kB / 386.6 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.009764, allocations: 4 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.009806, allocations: 4 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.009831, allocations: 7.984 kB / 386.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.009843, allocations: 7.984 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.812e-05/0.009911, allocations: 171.1 kB / 386.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009911, allocations: 4 kB / 386.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000177/0.01009, allocations: 39.86 kB / 386.9 MB, free: 9.863 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.0009853/0.01107, allocations: 467 kB / 387.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.01118, allocations: 67.53 kB / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01118, allocations: 0 / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.01122, allocations: 39.59 kB / 387.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.01144, allocations: 31.73 kB / 387.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.01175, allocations: 273.4 kB / 387.7 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.248e-05/0.01179, allocations: 71.33 kB / 387.8 MB, free: 9.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.809e-05/0.01183, allocations: 20.83 kB / 387.8 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.0119, allocations: 90.19 kB / 387.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0119, allocations: 0 / 387.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of Templates: time 0.003572/0.01547, allocations: 2.325 MB / 390.2 MB, free: 6.617 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.02585641015321]