Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001507/0.001507, allocations: 114 kB / 19.13 MB, free: 3.945 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.001572/0.001573, allocations: 200.9 kB / 22.07 MB, free: 1 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.538/1.538, allocations: 227.5 MB / 252.3 MB, free: 76 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.2524/0.2524, allocations: 46.15 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 84.22 kB / 490.9 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1372, allocations: 62.44 MB / 0.5404 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003614/0.1408, allocations: 1.935 MB / 0.5423 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1427, allocations: 1.057 MB / 0.5433 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1428, allocations: 7.938 kB / 0.5433 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1432, allocations: 43.7 kB / 0.5434 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.1435, allocations: 99.53 kB / 0.5435 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.1438, allocations: 99.62 kB / 0.5436 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.144, allocations: 147.5 kB / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1442, allocations: 29.48 kB / 0.5437 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1443, allocations: 63.7 kB / 0.5438 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1444, allocations: 51.72 kB / 0.5438 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1444, allocations: 4 kB / 0.5438 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1445, allocations: 47.98 kB / 0.5439 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.1446, allocations: 27.91 kB / 0.5439 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.513e-05/0.1447, allocations: 55.55 kB / 0.544 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.145, allocations: 147.3 kB / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.145, allocations: 0 / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.145, allocations: 0 / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.145, allocations: 0 / 0.5441 GB, free: 372 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007354/0.1458, allocations: 0.4951 MB / 0.5446 GB, free: 15.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1458, allocations: 8.031 kB / 0.5446 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.1459, allocations: 16.84 kB / 0.5446 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1462, allocations: 228.8 kB / 0.5448 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1462, allocations: 8.375 kB / 0.5448 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.1463, allocations: 4.375 kB / 0.5449 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.1465, allocations: 116.5 kB / 0.545 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1465, allocations: 0 / 0.545 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1466, allocations: 0 / 0.545 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1466, allocations: 4 kB / 0.545 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1467, allocations: 47.91 kB / 0.545 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.1474, allocations: 0.5165 MB / 0.5455 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.1477, allocations: 82.66 kB / 0.5456 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.815e-05/0.1478, allocations: 40.83 kB / 0.5456 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1479, allocations: 4 kB / 0.5456 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.1481, allocations: 87.31 kB / 0.5457 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1481, allocations: 0 / 0.5457 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004201/0.1485, allocations: 145.5 kB / 0.5459 GB, free: 14.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1486, allocations: 51.41 kB / 0.5459 GB, free: 14.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1488, allocations: 206.2 kB / 0.5461 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.1488, allocations: 29.7 kB / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.1489, allocations: 120 kB / 0.5463 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1489, allocations: 27.8 kB / 0.5463 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.149, allocations: 30.03 kB / 0.5463 GB, free: 13.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1491, allocations: 326.8 kB / 0.5466 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.1492, allocations: 27.97 kB / 0.5466 GB, free: 13.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1494, allocations: 78.47 kB / 0.5467 GB, free: 13.44 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.1496, allocations: 100.1 kB / 0.5468 GB, free: 13.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1496, allocations: 0 / 0.5468 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002695/0.1499, allocations: 141.4 kB / 0.5469 GB, free: 13.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1499, allocations: 4 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1499, allocations: 4 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1499, allocations: 4 kB / 0.547 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.15, allocations: 23.98 kB / 0.547 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.15, allocations: 3.938 kB / 0.547 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.1501, allocations: 19.83 kB / 0.547 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1501, allocations: 8.125 kB / 0.547 GB, free: 13.12 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001201/0.1503, allocations: 132 kB / 0.5471 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1503, allocations: 11.91 kB / 0.5472 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.1504, allocations: 21.39 kB / 0.5472 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1504, allocations: 0 / 0.5472 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1504, allocations: 0 / 0.5472 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-06/0.1504, allocations: 3.938 kB / 0.5472 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1506, allocations: 209.6 kB / 0.5474 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1506, allocations: 0 / 0.5474 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.1507, allocations: 23.92 kB / 0.5474 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1507, allocations: 0 / 0.5474 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1507, allocations: 4 kB / 0.5474 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1507, allocations: 4 kB / 0.5474 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1507, allocations: 0 / 0.5474 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.1511, allocations: 184.9 kB / 0.5476 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.1512, allocations: 96.97 kB / 0.5477 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1512, allocations: 4.062 kB / 0.5477 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.1513, allocations: 8 kB / 0.5477 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1513, allocations: 11.92 kB / 0.5477 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1514, allocations: 4 kB / 0.5477 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1515, allocations: 144.4 kB / 0.5478 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1515, allocations: 0 / 0.5478 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1517, allocations: 24 kB / 0.5479 GB, free: 12.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001482/0.1532, allocations: 410.9 kB / 0.5483 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.1535, allocations: 83.83 kB / 0.5483 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1535, allocations: 0 / 0.5483 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1536, allocations: 31.98 kB / 0.5484 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.1539, allocations: 50.02 kB / 0.5484 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005632/0.1545, allocations: 301.5 kB / 0.5487 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.1549, allocations: 0.7161 MB / 0.5494 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.1549, allocations: 19.44 kB / 0.5494 GB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1549, allocations: 0 / 0.5494 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Templates: time 0.004603/0.1596, allocations: 2.206 MB / 0.5516 GB, free: 8.449 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.05318957392592]