Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00176/0.00176, allocations: 116.7 kB / 19.17 MB, free: 3.871 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.002225/0.002225, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.526/1.526, allocations: 230.3 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2238/0.2238, allocations: 46.92 MB / 358.2 MB, free: 10.42 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 83.86 kB / 0.4926 GB, free: 7.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1214, allocations: 66.01 MB / 0.5571 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003407/0.1248, allocations: 1.75 MB / 0.5588 GB, free: 3.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1267, allocations: 1.036 MB / 0.5598 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.056e-05/0.1268, allocations: 0 / 0.5598 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.1272, allocations: 111.7 kB / 0.5599 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.1276, allocations: 127.5 kB / 0.56 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.1278, allocations: 75.72 kB / 0.5601 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.1281, allocations: 131.6 kB / 0.5602 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1282, allocations: 11.98 kB / 0.5602 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1283, allocations: 55.77 kB / 0.5603 GB, free: 2.105 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1284, allocations: 79.73 kB / 0.5604 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1284, allocations: 4 kB / 0.5604 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1286, allocations: 67.89 kB / 0.5604 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.1286, allocations: 23.92 kB / 0.5604 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.1287, allocations: 39.69 kB / 0.5605 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.129, allocations: 155.3 kB / 0.5606 GB, free: 1.742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.129, allocations: 0 / 0.5606 GB, free: 1.742 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.129, allocations: 0 / 0.5606 GB, free: 1.742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.129, allocations: 0 / 0.5606 GB, free: 1.742 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006463/0.1296, allocations: 450.4 kB / 0.5611 GB, free: 1.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1297, allocations: 16.02 kB / 0.5611 GB, free: 1.238 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.1297, allocations: 12.84 kB / 0.5611 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1301, allocations: 227.8 kB / 0.5613 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.1301, allocations: 384 / 0.5613 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1301, allocations: 12.33 kB / 0.5613 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1303, allocations: 61.98 kB / 0.5614 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1303, allocations: 3.984 kB / 0.5614 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1303, allocations: 3.938 kB / 0.5614 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1303, allocations: 4 kB / 0.5614 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/0.1304, allocations: 27.92 kB / 0.5614 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.1309, allocations: 308.7 kB / 0.5617 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.1311, allocations: 54.55 kB / 0.5618 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.1312, allocations: 16.98 kB / 0.5618 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1312, allocations: 8 kB / 0.5618 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.1314, allocations: 79.38 kB / 0.5619 GB, free: 324 kB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1314, allocations: 4 kB / 0.5619 GB, free: 320 kB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007799/0.1321, allocations: 249.6 kB / 0.5621 GB, free: 64 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.1322, allocations: 55.45 kB / 0.5622 GB, free: 15.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.1325, allocations: 251.1 kB / 0.5624 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1325, allocations: 29.7 kB / 0.5624 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.1326, allocations: 112.1 kB / 0.5625 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.1326, allocations: 35.69 kB / 0.5626 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/0.1327, allocations: 25.72 kB / 0.5626 GB, free: 15.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1328, allocations: 334.8 kB / 0.5629 GB, free: 15.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.1329, allocations: 27.98 kB / 0.5629 GB, free: 15.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.494e-05/0.133, allocations: 48.95 kB / 0.563 GB, free: 15.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1331, allocations: 85.58 kB / 0.5631 GB, free: 15.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1331, allocations: 0 / 0.5631 GB, free: 15.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002287/0.1334, allocations: 129.5 kB / 0.5632 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1334, allocations: 10.17 kB / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1334, allocations: 0 / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1334, allocations: 4 kB / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.1335, allocations: 16 kB / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1335, allocations: 0 / 0.5632 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.1335, allocations: 15.95 kB / 0.5632 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1335, allocations: 8 kB / 0.5632 GB, free: 14.84 MB / 430.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.0001238/0.1337, allocations: 139.1 kB / 0.5634 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.1337, allocations: 15.91 kB / 0.5634 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/0.1337, allocations: 17.41 kB / 0.5634 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1338, allocations: 0 / 0.5634 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1338, allocations: 0 / 0.5634 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1338, allocations: 11.92 kB / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005726/0.1343, allocations: 460 kB / 0.5639 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1343, allocations: 4.031 kB / 0.5639 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.1344, allocations: 15.94 kB / 0.5639 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1344, allocations: 3.938 kB / 0.5639 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1344, allocations: 8 kB / 0.5639 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.1344, allocations: 3.984 kB / 0.5639 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1344, allocations: 0 / 0.5639 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.1347, allocations: 233.2 kB / 0.5641 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.1348, allocations: 92.95 kB / 0.5642 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.1348, allocations: 8 kB / 0.5642 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.1349, allocations: 7.984 kB / 0.5642 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1349, allocations: 4 kB / 0.5642 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.1349, allocations: 7.984 kB / 0.5642 GB, free: 13.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.1351, allocations: 196.5 kB / 0.5644 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1351, allocations: 0 / 0.5644 GB, free: 13.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1354, allocations: 27.94 kB / 0.5644 GB, free: 13.49 MB / 430.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.001913/0.1373, allocations: 0.4978 MB / 0.5649 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1375, allocations: 71.84 kB / 0.565 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1375, allocations: 0 / 0.565 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.994e-05/0.1376, allocations: 43.98 kB / 0.565 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.138, allocations: 38.67 kB / 0.5651 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.1386, allocations: 342.2 kB / 0.5654 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.139, allocations: 0.7198 MB / 0.5661 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.139, allocations: 23.44 kB / 0.5661 GB, free: 11.88 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.139, allocations: 0 / 0.5661 GB, free: 11.88 MB / 430.1 MB Notification: Performance of Templates: time 0.004605/0.1436, allocations: 2.319 MB / 0.5684 GB, free: 9.566 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.666870382003253]