Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001939/0.001939, allocations: 114 kB / 19.12 MB, free: 3.941 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.002481/0.002481, allocations: 208.9 kB / 22.08 MB, free: 0.9922 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.59/1.59, allocations: 227.4 MB / 252.3 MB, free: 88 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.2239/0.2239, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 92.66 kB / 491 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1199, allocations: 62.45 MB / 0.5405 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003156/0.1232, allocations: 1.751 MB / 0.5422 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1249, allocations: 1.024 MB / 0.5432 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.125, allocations: 4 kB / 0.5432 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.1254, allocations: 103.7 kB / 0.5433 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.1258, allocations: 131.5 kB / 0.5434 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.126, allocations: 79.66 kB / 0.5435 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1263, allocations: 119.7 kB / 0.5436 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1264, allocations: 15.98 kB / 0.5436 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1265, allocations: 59.7 kB / 0.5437 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1267, allocations: 67.75 kB / 0.5437 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1267, allocations: 4 kB / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.1268, allocations: 63.97 kB / 0.5438 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.1269, allocations: 27.91 kB / 0.5438 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.268e-05/0.127, allocations: 39.69 kB / 0.5438 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.1273, allocations: 155.3 kB / 0.544 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1273, allocations: 0 / 0.544 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1273, allocations: 0 / 0.544 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1273, allocations: 0 / 0.544 GB, free: 0.5039 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000671/0.128, allocations: 454.4 kB / 0.5444 GB, free: 12 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1281, allocations: 8.031 kB / 0.5444 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.139e-05/0.1281, allocations: 12.89 kB / 0.5444 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.1285, allocations: 227.8 kB / 0.5447 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1285, allocations: 8.359 kB / 0.5447 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1285, allocations: 4.328 kB / 0.5447 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1287, allocations: 73.91 kB / 0.5447 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1287, allocations: 0 / 0.5447 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.1288, allocations: 0 / 0.5447 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1288, allocations: 4 kB / 0.5447 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.185e-05/0.1289, allocations: 19.98 kB / 0.5448 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.1293, allocations: 308.8 kB / 0.5451 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.1296, allocations: 62.44 kB / 0.5451 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.1296, allocations: 20.97 kB / 0.5451 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1297, allocations: 4 kB / 0.5451 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.1298, allocations: 67.39 kB / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.1298, allocations: 0 / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00078/0.1306, allocations: 261.7 kB / 0.5455 GB, free: 14.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.1307, allocations: 55.41 kB / 0.5455 GB, free: 14.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002653/0.131, allocations: 251.2 kB / 0.5458 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.131, allocations: 25.7 kB / 0.5458 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.1311, allocations: 112.1 kB / 0.5459 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.1312, allocations: 43.69 kB / 0.5459 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.1312, allocations: 21.72 kB / 0.5459 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.1314, allocations: 338.7 kB / 0.5463 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.1315, allocations: 28 kB / 0.5463 GB, free: 13.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/0.1316, allocations: 49.69 kB / 0.5463 GB, free: 13.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1318, allocations: 65.72 kB / 0.5464 GB, free: 13.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1318, allocations: 4 kB / 0.5464 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000224/0.132, allocations: 137.5 kB / 0.5465 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.132, allocations: 4 kB / 0.5465 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1321, allocations: 0 / 0.5465 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.1321, allocations: 4 kB / 0.5465 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.1322, allocations: 23.98 kB / 0.5466 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1322, allocations: 8 kB / 0.5466 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.1322, allocations: 11.94 kB / 0.5466 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.1323, allocations: 4 kB / 0.5466 GB, free: 13.6 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 (13): * Single equations (assignments): 13 * 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.0001272/0.1324, allocations: 139.4 kB / 0.5467 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.1324, allocations: 15.91 kB / 0.5467 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.1325, allocations: 25.39 kB / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1325, allocations: 0 / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1325, allocations: 0 / 0.5468 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1325, allocations: 7.938 kB / 0.5468 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.1331, allocations: 460 kB / 0.5472 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1331, allocations: 0 / 0.5472 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.803e-05/0.1332, allocations: 15.98 kB / 0.5472 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1332, allocations: 3.938 kB / 0.5472 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1332, allocations: 4 kB / 0.5472 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1332, allocations: 96 / 0.5472 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1332, allocations: 3.938 kB / 0.5472 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.1335, allocations: 241.1 kB / 0.5475 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.1336, allocations: 92.95 kB / 0.5476 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1336, allocations: 4 kB / 0.5476 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1337, allocations: 4 kB / 0.5476 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.1337, allocations: 11.98 kB / 0.5476 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1338, allocations: 4 kB / 0.5476 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.1339, allocations: 188.5 kB / 0.5478 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1339, allocations: 0 / 0.5478 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1342, allocations: 35.92 kB / 0.5478 GB, free: 12.25 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001914/0.1361, allocations: 0.4973 MB / 0.5483 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.1364, allocations: 79.91 kB / 0.5484 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1364, allocations: 0 / 0.5484 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.395e-05/0.1365, allocations: 43.86 kB / 0.5484 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.1369, allocations: 45.91 kB / 0.5484 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006179/0.1376, allocations: 338.3 kB / 0.5488 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.1379, allocations: 0.7236 MB / 0.5495 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.138, allocations: 15.44 kB / 0.5495 GB, free: 10.66 MB / 414.1 MB Notification: Performance of SimCode: time 2.254e-06/0.138, allocations: 0 / 0.5495 GB, free: 10.66 MB / 414.1 MB Notification: Performance of Templates: time 0.004687/0.1427, allocations: 2.315 MB / 0.5517 GB, free: 8.348 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.220982252969407]