Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001632/0.001633, allocations: 117.1 kB / 19.13 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.001776/0.001776, allocations: 210.6 kB / 22.08 MB, free: 0.9883 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.489/1.489, allocations: 227.4 MB / 252.3 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.227/0.227, allocations: 46.16 MB / 351.8 MB, free: 14.33 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 86.81 kB / 491 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1133, allocations: 62.44 MB / 0.5404 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00378/0.1171, allocations: 1.928 MB / 0.5423 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.1193, allocations: 1.122 MB / 0.5434 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.1195, allocations: 11.88 kB / 0.5434 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.1199, allocations: 167.5 kB / 0.5436 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.1205, allocations: 179.3 kB / 0.5438 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.1208, allocations: 111.6 kB / 0.5439 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.1212, allocations: 239.4 kB / 0.5441 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1213, allocations: 41.53 kB / 0.5441 GB, free: 372 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1215, allocations: 111.5 kB / 0.5442 GB, free: 260 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1217, allocations: 131.6 kB / 0.5444 GB, free: 128 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.1217, allocations: 8 kB / 0.5444 GB, free: 120 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1219, allocations: 63.97 kB / 0.5444 GB, free: 56 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.122, allocations: 55.7 kB / 0.5445 GB, free: 0 / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1221, allocations: 79.55 kB / 0.5446 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.1224, allocations: 230.8 kB / 0.5448 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1225, allocations: 4 kB / 0.5448 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1225, allocations: 0 / 0.5448 GB, free: 15.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1225, allocations: 0 / 0.5448 GB, free: 15.69 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007868/0.1233, allocations: 0.5484 MB / 0.5453 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1233, allocations: 8.031 kB / 0.5453 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.1234, allocations: 28.75 kB / 0.5454 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1238, allocations: 275.8 kB / 0.5456 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1238, allocations: 12.31 kB / 0.5456 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1239, allocations: 8.375 kB / 0.5456 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.1241, allocations: 112.8 kB / 0.5457 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1241, allocations: 0 / 0.5457 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1242, allocations: 4 kB / 0.5458 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1242, allocations: 0 / 0.5458 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1243, allocations: 55.88 kB / 0.5458 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.1249, allocations: 464.8 kB / 0.5462 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.1253, allocations: 125.2 kB / 0.5464 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1254, allocations: 45.81 kB / 0.5464 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1254, allocations: 4 kB / 0.5464 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.1257, allocations: 124 kB / 0.5465 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.1257, allocations: 0 / 0.5465 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001335/0.127, allocations: 0.5053 MB / 0.547 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.1271, allocations: 85.05 kB / 0.5471 GB, free: 13.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.1275, allocations: 367.3 kB / 0.5475 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.1276, allocations: 33.7 kB / 0.5475 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1277, allocations: 144.5 kB / 0.5476 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.1278, allocations: 67.39 kB / 0.5477 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.1278, allocations: 45.7 kB / 0.5477 GB, free: 12.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.128, allocations: 346.8 kB / 0.5481 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1282, allocations: 55.98 kB / 0.5481 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.1283, allocations: 99.27 kB / 0.5482 GB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.1286, allocations: 155.3 kB / 0.5484 GB, free: 11.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1286, allocations: 4 kB / 0.5484 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00041/0.129, allocations: 233.6 kB / 0.5486 GB, free: 11.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1291, allocations: 8 kB / 0.5486 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1291, allocations: 0 / 0.5486 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1291, allocations: 7.938 kB / 0.5486 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1293, allocations: 39.92 kB / 0.5486 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.1293, allocations: 4 kB / 0.5486 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.353e-05/0.1294, allocations: 11.98 kB / 0.5487 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1294, allocations: 8.062 kB / 0.5487 GB, free: 11.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001591/0.1295, allocations: 161.7 kB / 0.5488 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.1296, allocations: 31.8 kB / 0.5488 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.1297, allocations: 41.77 kB / 0.5489 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1297, allocations: 0 / 0.5489 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1297, allocations: 0 / 0.5489 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1297, allocations: 4 kB / 0.5489 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009493/0.1307, allocations: 0.7195 MB / 0.5496 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1307, allocations: 7.938 kB / 0.5496 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.368e-05/0.1308, allocations: 27.98 kB / 0.5496 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.1308, allocations: 0 / 0.5496 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.1308, allocations: 11.98 kB / 0.5496 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1308, allocations: 4.188 kB / 0.5496 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1308, allocations: 128 / 0.5496 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.1313, allocations: 425.8 kB / 0.5501 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.1314, allocations: 100.9 kB / 0.5501 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.1315, allocations: 16 kB / 0.5502 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1316, allocations: 15.98 kB / 0.5502 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.1317, allocations: 19.86 kB / 0.5502 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.1317, allocations: 12 kB / 0.5502 GB, free: 9.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002883/0.132, allocations: 277.9 kB / 0.5505 GB, free: 9.453 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.132, allocations: 0 / 0.5505 GB, free: 9.453 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003561/0.1324, allocations: 47.94 kB / 0.5505 GB, free: 9.406 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001971/0.1344, allocations: 0.5063 MB / 0.551 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.1348, allocations: 155.8 kB / 0.5512 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1348, allocations: 3.938 kB / 0.5512 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1349, allocations: 83.84 kB / 0.5512 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005843/0.1355, allocations: 63.61 kB / 0.5513 GB, free: 8.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009463/0.1365, allocations: 0.5331 MB / 0.5518 GB, free: 8.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.1369, allocations: 0.7712 MB / 0.5526 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.137, allocations: 31.42 kB / 0.5526 GB, free: 7.391 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.137, allocations: 0 / 0.5526 GB, free: 7.391 MB / 414.1 MB Notification: Performance of Templates: time 0.006805/0.1438, allocations: 3.619 MB / 0.5561 GB, free: 3.785 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001014493987896]