Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001593/0.001593, allocations: 122 kB / 18.45 MB, free: 4.59 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.002014/0.002014, allocations: 206.5 kB / 21.4 MB, free: 1.645 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.521/1.521, allocations: 227.4 MB / 251.6 MB, free: 68 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.2415/0.2415, allocations: 46.17 MB / 351.1 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002436, allocations: 83.86 kB / 490.3 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1416, allocations: 62.45 MB / 0.5398 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003505/0.1452, allocations: 1.732 MB / 0.5415 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1473, allocations: 1.017 MB / 0.5424 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.1474, allocations: 0 / 0.5424 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.1477, allocations: 39.78 kB / 0.5425 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.1481, allocations: 91.48 kB / 0.5426 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.1484, allocations: 83.66 kB / 0.5427 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1486, allocations: 103.7 kB / 0.5428 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1487, allocations: 16 kB / 0.5428 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1489, allocations: 47.77 kB / 0.5428 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.149, allocations: 31.8 kB / 0.5428 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.149, allocations: 4 kB / 0.5428 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1491, allocations: 47.97 kB / 0.5429 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.1492, allocations: 15.92 kB / 0.5429 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.1493, allocations: 27.81 kB / 0.5429 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1495, allocations: 119.4 kB / 0.543 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1496, allocations: 4 kB / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1496, allocations: 0 / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1496, allocations: 0 / 0.5431 GB, free: 0.7617 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008575/0.1504, allocations: 414.7 kB / 0.5434 GB, free: 316 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.1505, allocations: 12.03 kB / 0.5435 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.1506, allocations: 8.891 kB / 0.5435 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.151, allocations: 212.2 kB / 0.5437 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1511, allocations: 384 / 0.5437 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.1511, allocations: 4.375 kB / 0.5437 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.1513, allocations: 65.92 kB / 0.5437 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.1514, allocations: 0 / 0.5437 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1514, allocations: 0 / 0.5437 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1514, allocations: 0 / 0.5437 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.1515, allocations: 19.98 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.152, allocations: 284.8 kB / 0.544 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1522, allocations: 70.59 kB / 0.5441 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.1523, allocations: 16.86 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1523, allocations: 3.984 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.1525, allocations: 67.39 kB / 0.5442 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.1525, allocations: 0 / 0.5442 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000641/0.1532, allocations: 177.3 kB / 0.5443 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.1532, allocations: 59.39 kB / 0.5444 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.1534, allocations: 166.2 kB / 0.5446 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1535, allocations: 25.7 kB / 0.5446 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.451e-05/0.1536, allocations: 100.1 kB / 0.5447 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.1536, allocations: 23.84 kB / 0.5447 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.1536, allocations: 21.72 kB / 0.5447 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.1539, allocations: 322.8 kB / 0.545 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.805e-05/0.154, allocations: 31.92 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.1541, allocations: 45.58 kB / 0.5451 GB, free: 14.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1542, allocations: 57.7 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1542, allocations: 0 / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000188/0.1544, allocations: 101.6 kB / 0.5453 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.1544, allocations: 8 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1545, allocations: 0 / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1545, allocations: 4.031 kB / 0.5453 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1546, allocations: 15.98 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1546, allocations: 4 kB / 0.5453 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1547, allocations: 4 kB / 0.5453 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1547, allocations: 4 kB / 0.5453 GB, free: 14.22 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 (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 0.0001311/0.1548, allocations: 131.4 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.1548, allocations: 7.953 kB / 0.5454 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.1549, allocations: 12.72 kB / 0.5454 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1549, allocations: 4 kB / 0.5454 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1549, allocations: 0 / 0.5454 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1549, allocations: 7.984 kB / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.1555, allocations: 399.2 kB / 0.5458 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1555, allocations: 0 / 0.5458 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.1555, allocations: 8 kB / 0.5458 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1555, allocations: 0 / 0.5458 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1555, allocations: 8 kB / 0.5459 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1555, allocations: 3.938 kB / 0.5459 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.1555, allocations: 8.016 kB / 0.5459 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.1558, allocations: 196.3 kB / 0.546 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.1559, allocations: 89.02 kB / 0.5461 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1559, allocations: 4 kB / 0.5461 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.156, allocations: 7.938 kB / 0.5461 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.1561, allocations: 8.344 kB / 0.5462 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.1561, allocations: 8 kB / 0.5462 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.1562, allocations: 136.7 kB / 0.5463 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.335e-06/0.1562, allocations: 0 / 0.5463 GB, free: 13.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1565, allocations: 27.92 kB / 0.5463 GB, free: 13.07 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001796/0.1583, allocations: 449 kB / 0.5467 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1585, allocations: 59.92 kB / 0.5468 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1585, allocations: 0 / 0.5468 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.1586, allocations: 31.98 kB / 0.5468 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.159, allocations: 36.14 kB / 0.5469 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.1595, allocations: 211.2 kB / 0.5471 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1599, allocations: 0.7002 MB / 0.5478 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.024e-05/0.16, allocations: 8.891 kB / 0.5478 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.16, allocations: 23.42 kB / 0.5478 GB, free: 11.67 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.16, allocations: 3.938 kB / 0.5478 GB, free: 11.66 MB / 414.1 MB Notification: Performance of Templates: time 0.005571/0.1656, allocations: 1.726 MB / 0.5495 GB, free: 9.949 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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: 5.393214018084109]