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.001573/0.001573, allocations: 117 kB / 19.13 MB, free: 3.922 MB / 14.72 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.001736/0.001737, allocations: 214.5 kB / 22.08 MB, free: 0.9727 MB / 14.72 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.488/1.488, allocations: 227.4 MB / 252.3 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] 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.2438/0.2438, allocations: 46.17 MB / 351.8 MB, free: 14.27 MB / 286.1 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.1.|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.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 84.25 kB / 491 MB, free: 27.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.144, allocations: 62.46 MB / 0.5404 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003221/0.1472, allocations: 1.747 MB / 0.5421 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.149, allocations: 1.024 MB / 0.5431 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.774e-05/0.1491, allocations: 4 kB / 0.5432 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.1495, allocations: 87.69 kB / 0.5432 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.1498, allocations: 123.5 kB / 0.5434 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.15, allocations: 75.69 kB / 0.5434 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.1503, allocations: 123.7 kB / 0.5435 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1504, allocations: 19.98 kB / 0.5436 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1505, allocations: 55.77 kB / 0.5436 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1506, allocations: 71.73 kB / 0.5437 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1506, allocations: 4 kB / 0.5437 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1508, allocations: 55.98 kB / 0.5437 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.1508, allocations: 31.84 kB / 0.5438 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.1509, allocations: 43.67 kB / 0.5438 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1512, allocations: 139.4 kB / 0.5439 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1512, allocations: 8 kB / 0.544 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1512, allocations: 0 / 0.544 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1512, allocations: 0 / 0.544 GB, free: 0.5039 MB / 398.1 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.0006359/0.1518, allocations: 442.5 kB / 0.5444 GB, free: 24 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1519, allocations: 8.031 kB / 0.5444 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.1519, allocations: 12.84 kB / 0.5444 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1523, allocations: 228.8 kB / 0.5446 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1523, allocations: 4.359 kB / 0.5446 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.1523, allocations: 8.375 kB / 0.5446 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1525, allocations: 65.97 kB / 0.5447 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1525, allocations: 0 / 0.5447 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1525, allocations: 4 kB / 0.5447 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1525, allocations: 0 / 0.5447 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.289e-05/0.1526, allocations: 23.98 kB / 0.5447 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.153, allocations: 304.7 kB / 0.545 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.1533, allocations: 70.47 kB / 0.5451 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.788e-05/0.1534, allocations: 24.97 kB / 0.5451 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.1534, allocations: 0 / 0.5451 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.1536, allocations: 67.39 kB / 0.5452 GB, free: 15.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1536, allocations: 0 / 0.5452 GB, free: 15.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007699/0.1543, allocations: 257.2 kB / 0.5454 GB, free: 14.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.1544, allocations: 59.34 kB / 0.5455 GB, free: 14.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1546, allocations: 230.1 kB / 0.5457 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1547, allocations: 29.7 kB / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.1548, allocations: 112.1 kB / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.1548, allocations: 35.73 kB / 0.5459 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.1549, allocations: 25.72 kB / 0.5459 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.155, allocations: 334.8 kB / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.101e-05/0.1551, allocations: 31.98 kB / 0.5462 GB, free: 13.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.112e-05/0.1552, allocations: 45.7 kB / 0.5463 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1553, allocations: 73.66 kB / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1553, allocations: 3.938 kB / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002148/0.1556, allocations: 125.7 kB / 0.5465 GB, free: 13.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.1556, allocations: 4 kB / 0.5465 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1556, allocations: 8.031 kB / 0.5465 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1556, allocations: 0 / 0.5465 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.1557, allocations: 23.92 kB / 0.5465 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1557, allocations: 0 / 0.5465 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.1558, allocations: 11.94 kB / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1558, allocations: 7.984 kB / 0.5465 GB, free: 13.64 MB / 414.1 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 0.000118/0.1559, allocations: 127.4 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.1559, allocations: 15.91 kB / 0.5467 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.877e-05/0.156, allocations: 29.39 kB / 0.5467 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.156, allocations: 0 / 0.5467 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.156, allocations: 0 / 0.5467 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.156, allocations: 3.938 kB / 0.5467 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.1566, allocations: 452 kB / 0.5471 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1566, allocations: 0 / 0.5471 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.1567, allocations: 23.86 kB / 0.5471 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.1567, allocations: 3.938 kB / 0.5471 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1567, allocations: 12.06 kB / 0.5472 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1567, allocations: 0 / 0.5472 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.1567, allocations: 4 kB / 0.5472 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.157, allocations: 229.2 kB / 0.5474 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.1571, allocations: 92.95 kB / 0.5475 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1571, allocations: 8.094 kB / 0.5475 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.1572, allocations: 7.938 kB / 0.5475 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1572, allocations: 11.92 kB / 0.5475 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1572, allocations: 4 kB / 0.5475 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.1574, allocations: 180.4 kB / 0.5477 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1574, allocations: 0 / 0.5477 GB, free: 12.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1577, allocations: 27.94 kB / 0.5477 GB, free: 12.31 MB / 414.1 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 (11): * Single equations (assignments): 9 * 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.001904/0.1596, allocations: 0.5091 MB / 0.5482 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1598, allocations: 79.91 kB / 0.5483 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1598, allocations: 0 / 0.5483 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.163e-05/0.1599, allocations: 39.92 kB / 0.5483 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.1603, allocations: 34.67 kB / 0.5483 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005534/0.1609, allocations: 334.2 kB / 0.5487 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1612, allocations: 0.7158 MB / 0.5494 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.1613, allocations: 27.36 kB / 0.5494 GB, free: 10.72 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1613, allocations: 0 / 0.5494 GB, free: 10.72 MB / 414.1 MB Notification: Performance of Templates: time 0.004382/0.1657, allocations: 2.271 MB / 0.5516 GB, free: 8.457 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.927921410067938]