Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001704/0.001704, allocations: 111.9 kB / 19.12 MB, free: 3.938 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.002523/0.002523, allocations: 212.9 kB / 22.08 MB, free: 0.9844 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.54/1.54, allocations: 227.4 MB / 252.3 MB, free: 96 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.2444/0.2444, allocations: 46.17 MB / 351.8 MB, free: 14.3 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 80.83 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.135, allocations: 62.45 MB / 0.5404 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003512/0.1385, allocations: 1.733 MB / 0.5421 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1413, allocations: 1.638 MB / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.769e-05/0.1414, allocations: 0 / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.1417, allocations: 35.77 kB / 0.5438 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1421, allocations: 95.61 kB / 0.5438 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1423, allocations: 83.66 kB / 0.5439 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1425, allocations: 103.6 kB / 0.544 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1426, allocations: 19.98 kB / 0.544 GB, free: 464 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1428, allocations: 47.78 kB / 0.5441 GB, free: 416 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.1429, allocations: 43.83 kB / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.143, allocations: 4 kB / 0.5441 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.1432, allocations: 111.9 kB / 0.5442 GB, free: 256 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.1432, allocations: 19.92 kB / 0.5443 GB, free: 236 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.1433, allocations: 27.81 kB / 0.5443 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1436, allocations: 171.4 kB / 0.5445 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1436, allocations: 0 / 0.5445 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1436, allocations: 0 / 0.5445 GB, free: 36 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1437, allocations: 0 / 0.5445 GB, free: 36 kB / 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.0006651/0.1443, allocations: 446.6 kB / 0.5449 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1444, allocations: 8.031 kB / 0.5449 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.1444, allocations: 12.84 kB / 0.5449 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1448, allocations: 212.7 kB / 0.5451 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1448, allocations: 4.375 kB / 0.5451 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.1448, allocations: 8.125 kB / 0.5451 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.145, allocations: 67.39 kB / 0.5452 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.145, allocations: 4 kB / 0.5452 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1451, allocations: 3.984 kB / 0.5452 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.1451, allocations: 3.984 kB / 0.5452 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.62e-05/0.1452, allocations: 19.94 kB / 0.5452 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.1456, allocations: 284.9 kB / 0.5455 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1458, allocations: 58.67 kB / 0.5455 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.427e-05/0.1458, allocations: 20.86 kB / 0.5456 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1459, allocations: 0 / 0.5456 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.1461, allocations: 79.27 kB / 0.5456 GB, free: 14.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1461, allocations: 0 / 0.5456 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005893/0.1467, allocations: 177.4 kB / 0.5458 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.1467, allocations: 81.11 kB / 0.5459 GB, free: 14.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.1469, allocations: 166.5 kB / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.147, allocations: 25.7 kB / 0.5461 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.1471, allocations: 100.1 kB / 0.5462 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.1471, allocations: 31.73 kB / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.1472, allocations: 21.72 kB / 0.5462 GB, free: 14.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1473, allocations: 322.8 kB / 0.5465 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.1474, allocations: 23.98 kB / 0.5465 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.1475, allocations: 46.56 kB / 0.5466 GB, free: 13.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1476, allocations: 57.66 kB / 0.5466 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1476, allocations: 0 / 0.5466 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002133/0.1478, allocations: 105.5 kB / 0.5467 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1479, allocations: 4 kB / 0.5467 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1479, allocations: 0 / 0.5467 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1479, allocations: 64 / 0.5467 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.148, allocations: 20 kB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.148, allocations: 3.984 kB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.402e-05/0.1481, allocations: 11.94 kB / 0.5468 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1481, allocations: 0 / 0.5468 GB, free: 13.39 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.0001234/0.1482, allocations: 119.4 kB / 0.5469 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.1482, allocations: 7.953 kB / 0.5469 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.1483, allocations: 16.89 kB / 0.5469 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1483, allocations: 0 / 0.5469 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1483, allocations: 7.938 kB / 0.5469 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.1483, allocations: 7.938 kB / 0.5469 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.1488, allocations: 395.3 kB / 0.5473 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1488, allocations: 0 / 0.5473 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.688e-05/0.1489, allocations: 11.94 kB / 0.5473 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1489, allocations: 0 / 0.5473 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1489, allocations: 11.92 kB / 0.5473 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1489, allocations: 0 / 0.5473 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.1489, allocations: 0 / 0.5473 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002665/0.1492, allocations: 208.3 kB / 0.5475 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.1493, allocations: 85.06 kB / 0.5476 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1493, allocations: 3.938 kB / 0.5476 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.1494, allocations: 11.98 kB / 0.5476 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.1494, allocations: 8.312 kB / 0.5476 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1494, allocations: 0 / 0.5476 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1496, allocations: 139.9 kB / 0.5478 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1496, allocations: 0 / 0.5478 GB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.1499, allocations: 39.88 kB / 0.5478 GB, free: 12.24 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.002024/0.1519, allocations: 0.5407 MB / 0.5483 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.1522, allocations: 63.91 kB / 0.5484 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1522, allocations: 0 / 0.5484 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.1523, allocations: 27.98 kB / 0.5484 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1526, allocations: 33.55 kB / 0.5484 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/0.1531, allocations: 228.5 kB / 0.5487 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.1536, allocations: 0.7042 MB / 0.5494 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.1537, allocations: 23.36 kB / 0.5494 GB, free: 10.76 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1537, allocations: 0 / 0.5494 GB, free: 10.76 MB / 414.1 MB Notification: Performance of Templates: time 0.004883/0.1586, allocations: 2.404 MB / 0.5517 GB, free: 8.363 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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: 8.058267946937121]