Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001866/0.001866, 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.001859/0.00186, 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.577/1.577, allocations: 227.4 MB / 252.3 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.2436/0.2436, allocations: 46.17 MB / 351.8 MB, free: 14.28 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 83.88 kB / 490.9 MB, free: 27.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1387, allocations: 62.44 MB / 0.5404 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003538/0.1423, allocations: 1.943 MB / 0.5423 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.1441, allocations: 1.061 MB / 0.5433 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1443, allocations: 4 kB / 0.5433 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.1446, allocations: 47.64 kB / 0.5434 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.145, allocations: 99.53 kB / 0.5435 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.1452, allocations: 91.64 kB / 0.5436 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1454, allocations: 147.5 kB / 0.5437 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1456, allocations: 33.48 kB / 0.5437 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1457, allocations: 55.7 kB / 0.5438 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.1458, allocations: 55.66 kB / 0.5438 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.1458, allocations: 4 kB / 0.5439 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1459, allocations: 51.97 kB / 0.5439 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.146, allocations: 23.92 kB / 0.5439 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.1461, allocations: 59.55 kB / 0.544 GB, free: 488 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1464, allocations: 151.3 kB / 0.5441 GB, free: 336 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1464, allocations: 0 / 0.5441 GB, free: 336 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1464, allocations: 0 / 0.5441 GB, free: 336 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1464, allocations: 0 / 0.5441 GB, free: 336 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.0007435/0.1472, allocations: 0.4883 MB / 0.5446 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1472, allocations: 8.031 kB / 0.5446 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.182e-05/0.1473, allocations: 16.84 kB / 0.5446 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.1476, allocations: 236.8 kB / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1476, allocations: 384 / 0.5449 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.1477, allocations: 12.36 kB / 0.5449 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.1479, allocations: 104.5 kB / 0.545 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1479, allocations: 0 / 0.545 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.148, allocations: 7.984 kB / 0.545 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.148, allocations: 4 kB / 0.545 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.1481, allocations: 47.91 kB / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.1488, allocations: 0.5087 MB / 0.5455 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.1491, allocations: 94.66 kB / 0.5456 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1492, allocations: 36.83 kB / 0.5456 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1493, allocations: 4 kB / 0.5456 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.1495, allocations: 79.31 kB / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1495, allocations: 0 / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000411/0.1499, allocations: 149.5 kB / 0.5459 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1499, allocations: 55.39 kB / 0.5459 GB, free: 14.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1502, allocations: 202.2 kB / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.1502, allocations: 29.7 kB / 0.5461 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.1503, allocations: 120 kB / 0.5463 GB, free: 13.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.1503, allocations: 27.8 kB / 0.5463 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.1504, allocations: 26.09 kB / 0.5463 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1505, allocations: 334.8 kB / 0.5466 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.1506, allocations: 27.98 kB / 0.5466 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.1507, allocations: 71.02 kB / 0.5467 GB, free: 13.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.151, allocations: 112.1 kB / 0.5468 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.151, allocations: 0 / 0.5468 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002695/0.1512, allocations: 133.4 kB / 0.547 GB, free: 13.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1513, allocations: 4 kB / 0.547 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1513, allocations: 4 kB / 0.547 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1513, allocations: 4.125 kB / 0.547 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1514, allocations: 27.98 kB / 0.547 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1514, allocations: 0 / 0.547 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.1515, allocations: 23.81 kB / 0.547 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1515, allocations: 4 kB / 0.547 GB, free: 13.09 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.0001117/0.1516, allocations: 125.8 kB / 0.5471 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.1517, allocations: 15.91 kB / 0.5472 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.1517, allocations: 21.39 kB / 0.5472 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1518, allocations: 4 kB / 0.5472 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1518, allocations: 4 kB / 0.5472 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1518, allocations: 3.938 kB / 0.5472 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.152, allocations: 205.6 kB / 0.5474 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.152, allocations: 4 kB / 0.5474 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.607e-05/0.1521, allocations: 11.98 kB / 0.5474 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1521, allocations: 0 / 0.5474 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1521, allocations: 0 / 0.5474 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1521, allocations: 4 kB / 0.5474 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1521, allocations: 0 / 0.5474 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1525, allocations: 192.9 kB / 0.5476 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.1526, allocations: 96.92 kB / 0.5477 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1526, allocations: 4 kB / 0.5477 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.1527, allocations: 7.984 kB / 0.5477 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.1527, allocations: 7.938 kB / 0.5477 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.1527, allocations: 4 kB / 0.5477 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1529, allocations: 148.5 kB / 0.5478 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1529, allocations: 3.938 kB / 0.5478 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002286/0.1531, allocations: 27.98 kB / 0.5479 GB, free: 12.11 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.001479/0.1546, allocations: 404.5 kB / 0.5483 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.1549, allocations: 75.91 kB / 0.5483 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1549, allocations: 4.188 kB / 0.5483 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.155, allocations: 43.97 kB / 0.5484 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1553, allocations: 41.67 kB / 0.5484 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.1559, allocations: 289.3 kB / 0.5487 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1562, allocations: 0.7161 MB / 0.5494 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/0.1562, allocations: 23.38 kB / 0.5494 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1563, allocations: 0 / 0.5494 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Templates: time 0.004445/0.1607, allocations: 2.214 MB / 0.5516 GB, free: 8.418 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.0793415379012]