Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.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.001178/0.001178, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001178/0.001178, allocations: 165.9 kB / 25.61 MB, free: 8.859 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.9 MB, free: 4.422 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.1679/0.1679, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.766e-05, allocations: 3.297 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002648/0.002676, allocations: 1.757 MB / 381.9 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.004009, allocations: 1.001 MB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.004081, allocations: 0 / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.004347, allocations: 39.77 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.004605, allocations: 107.4 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.004778, allocations: 75.66 kB / 383.1 MB, free: 19.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.004923, allocations: 111.6 kB / 383.2 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.00501, allocations: 4 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.727e-05/0.005088, allocations: 55.83 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.185e-05/0.005159, allocations: 27.91 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.005173, allocations: 7.938 kB / 383.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.114e-05/0.005254, allocations: 47.91 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.005303, allocations: 23.86 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.005337, allocations: 19.94 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.005492, allocations: 99.64 kB / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.005495, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005496, allocations: 0 / 383.5 MB, free: 19.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.005501, allocations: 4 kB / 383.5 MB, free: 19.26 MB / 314.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.0003627/0.005864, allocations: 455.8 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.005898, allocations: 8.031 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.005937, allocations: 20.78 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.006075, allocations: 157.4 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.006094, allocations: 4.375 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.006111, allocations: 384 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.006223, allocations: 62.94 kB / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.006234, allocations: 192 / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.006242, allocations: 384 / 384.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.006249, allocations: 7.938 kB / 384.2 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.006275, allocations: 11.98 kB / 384.2 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.006517, allocations: 260.4 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.006697, allocations: 47.16 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.006721, allocations: 19.67 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.006735, allocations: 4 kB / 384.5 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.604e-05/0.006821, allocations: 68.97 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.006822, allocations: 0 / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003277/0.00715, allocations: 137.8 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.007173, allocations: 51.41 kB / 384.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.669e-05/0.007269, allocations: 249.7 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.007279, allocations: 25.7 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.007319, allocations: 154.8 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.007344, allocations: 27.83 kB / 385.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.007372, allocations: 23.38 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.007433, allocations: 0.4962 MB / 385.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.007447, allocations: 16.05 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.007473, allocations: 27.38 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.007523, allocations: 59.34 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.007524, allocations: 0 / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.085e-05/0.007615, allocations: 85.53 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.007626, allocations: 4 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.007631, allocations: 0 / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.007643, allocations: 4 kB / 385.9 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.007707, allocations: 23.92 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.00771, allocations: 3.938 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/0.007737, allocations: 4 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.007742, allocations: 32 / 385.9 MB, free: 16.57 MB / 314.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 5.989e-05/0.007802, allocations: 172.5 kB / 386.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.007817, allocations: 15.89 kB / 386.1 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.007931, allocations: 95.08 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.007933, allocations: 0 / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.007936, allocations: 3.984 kB / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.00794, allocations: 0 / 386.2 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.008156, allocations: 365.5 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008158, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.008181, allocations: 19.98 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.008183, allocations: 4.031 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.008189, allocations: 0 / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.008192, allocations: 7.938 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.008193, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.008295, allocations: 259.6 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.008304, allocations: 7.953 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.008321, allocations: 8 kB / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.658e-05/0.008357, allocations: 0 / 386.9 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.008386, allocations: 7.984 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.008396, allocations: 4 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.00845, allocations: 176.2 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.00845, allocations: 0 / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00018/0.00863, allocations: 20 kB / 387.1 MB, free: 15.34 MB / 314.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.0008756/0.009506, allocations: 437.7 kB / 387.5 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.009612, allocations: 47.59 kB / 387.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.009613, allocations: 0 / 387.6 MB, free: 15.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.321e-05/0.009646, allocations: 31.61 kB / 387.6 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.00987, allocations: 44.5 kB / 387.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.01016, allocations: 227.8 kB / 387.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.01019, allocations: 67.2 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.422e-05/0.01022, allocations: 17.28 kB / 387.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.01028, allocations: 90.19 kB / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01028, allocations: 0 / 388 MB, free: 14.51 MB / 314.7 MB Notification: Performance of Templates: time 0.003276/0.01355, allocations: 2.067 MB / 390.1 MB, free: 12.47 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.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.4621299961581826]