Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.001749/0.001749, allocations: 118 kB / 18.46 MB, free: 4.613 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.001945/0.001945, allocations: 207.4 kB / 21.4 MB, free: 1.668 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 / 251.7 MB, free: 276 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.257/0.257, allocations: 46.18 MB / 351.1 MB, free: 14.32 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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 88.23 kB / 490.3 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.134, allocations: 62.45 MB / 0.5398 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003526/0.1375, allocations: 1.729 MB / 0.5415 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1393, allocations: 1.017 MB / 0.5425 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.542e-05/0.1394, allocations: 7.875 kB / 0.5425 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1398, allocations: 47.81 kB / 0.5425 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.1401, allocations: 99.53 kB / 0.5426 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.1403, allocations: 75.67 kB / 0.5427 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1405, allocations: 99.75 kB / 0.5428 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1406, allocations: 19.98 kB / 0.5428 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.1407, allocations: 43.78 kB / 0.5428 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.1408, allocations: 27.8 kB / 0.5429 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1408, allocations: 4 kB / 0.5429 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.141, allocations: 47.92 kB / 0.5429 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.847e-05/0.141, allocations: 31.84 kB / 0.5429 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.1411, allocations: 35.73 kB / 0.543 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1414, allocations: 119.4 kB / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1414, allocations: 4 kB / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1414, allocations: 0 / 0.5431 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1414, allocations: 0 / 0.5431 GB, free: 0.7578 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.0006016/0.142, allocations: 426.6 kB / 0.5435 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.142, allocations: 8.031 kB / 0.5435 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.1421, allocations: 12.89 kB / 0.5435 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1424, allocations: 220.1 kB / 0.5437 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1425, allocations: 384 / 0.5437 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1425, allocations: 8.375 kB / 0.5437 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.1427, allocations: 57.98 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1427, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1427, allocations: 3.984 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1427, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.1428, allocations: 20 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004113/0.1433, allocations: 304.6 kB / 0.5441 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1434, allocations: 58.69 kB / 0.5442 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.569e-05/0.1435, allocations: 20.84 kB / 0.5442 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.1435, allocations: 0 / 0.5442 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.1437, allocations: 67.39 kB / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1437, allocations: 4 kB / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005401/0.1442, allocations: 181.3 kB / 0.5444 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1443, allocations: 51.41 kB / 0.5445 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.1445, allocations: 206.1 kB / 0.5447 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1446, allocations: 37.62 kB / 0.5447 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.805e-05/0.1446, allocations: 96.14 kB / 0.5448 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.1447, allocations: 31.77 kB / 0.5448 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.1447, allocations: 25.72 kB / 0.5448 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1449, allocations: 326.8 kB / 0.5452 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.1449, allocations: 27.98 kB / 0.5452 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.145, allocations: 33.7 kB / 0.5452 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1451, allocations: 53.7 kB / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1452, allocations: 4 kB / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001943/0.1454, allocations: 101.7 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1454, allocations: 5.875 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.1454, allocations: 11.97 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1454, allocations: 0 / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.1455, allocations: 19.92 kB / 0.5454 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1455, allocations: 0 / 0.5454 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.1456, allocations: 4 kB / 0.5454 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1456, allocations: 4 kB / 0.5454 GB, free: 14.14 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.000119/0.1457, allocations: 129.8 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.1458, allocations: 15.91 kB / 0.5456 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.1458, allocations: 21.39 kB / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1458, allocations: 0 / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1458, allocations: 0 / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1458, allocations: 4 kB / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.1463, allocations: 395.3 kB / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1463, allocations: 0 / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.1464, allocations: 11.98 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1464, allocations: 3.938 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1464, allocations: 4 kB / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.1464, allocations: 11.97 kB / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1464, allocations: 384 / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.1468, allocations: 208.4 kB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.1468, allocations: 89.06 kB / 0.5463 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1469, allocations: 7.984 kB / 0.5463 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.432e-05/0.1469, allocations: 7.938 kB / 0.5463 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.147, allocations: 8 kB / 0.5463 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.147, allocations: 3.984 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1472, allocations: 164.8 kB / 0.5465 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1472, allocations: 0 / 0.5465 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1474, allocations: 23.94 kB / 0.5465 GB, free: 12.94 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.00171/0.1492, allocations: 452.8 kB / 0.5469 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1494, allocations: 59.91 kB / 0.547 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1494, allocations: 0 / 0.547 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.1495, allocations: 31.92 kB / 0.547 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.1498, allocations: 27.22 kB / 0.547 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.1503, allocations: 250.7 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.1507, allocations: 0.7041 MB / 0.5479 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.528e-05/0.1508, allocations: 17.17 kB / 0.548 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.1508, allocations: 15.44 kB / 0.548 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1509, allocations: 0 / 0.548 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.004773/0.1556, allocations: 1.745 MB / 0.5497 GB, free: 9.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.201662383042276]