Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.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.001343/0.001343, allocations: 112.8 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.001412/0.001412, allocations: 210.5 kB / 22.13 MB, free: 0.918 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: 230.2 MB / 255.1 MB, free: 15.42 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.2262/0.2262, allocations: 46.88 MB / 358.1 MB, free: 10.55 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39") [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.002295/0.002295, allocations: 78.8 kB / 0.4924 GB, free: 26.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1208, allocations: 65.98 MB / 0.5569 GB, free: 8.711 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003411/0.1242, allocations: 1.696 MB / 0.5585 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1261, allocations: 1.018 MB / 0.5595 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.48e-05/0.1261, allocations: 0 / 0.5595 GB, free: 5.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1265, allocations: 63.73 kB / 0.5596 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.1268, allocations: 103.5 kB / 0.5597 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.127, allocations: 83.72 kB / 0.5598 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.1272, allocations: 107.6 kB / 0.5599 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.1272, allocations: 4.234 kB / 0.5599 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1273, allocations: 51.77 kB / 0.5599 GB, free: 5.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1274, allocations: 43.83 kB / 0.56 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1274, allocations: 4 kB / 0.56 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.1275, allocations: 35.92 kB / 0.56 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.1276, allocations: 23.86 kB / 0.56 GB, free: 5.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.1276, allocations: 31.8 kB / 0.56 GB, free: 5.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1278, allocations: 107.5 kB / 0.5602 GB, free: 5.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1279, allocations: 4 kB / 0.5602 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1279, allocations: 0 / 0.5602 GB, free: 5.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1279, allocations: 0 / 0.5602 GB, free: 5.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006001/0.1285, allocations: 414.7 kB / 0.5605 GB, free: 4.867 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1285, allocations: 12.03 kB / 0.5606 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.1285, allocations: 12.84 kB / 0.5606 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.1289, allocations: 208.9 kB / 0.5608 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1289, allocations: 384 / 0.5608 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1289, allocations: 8.375 kB / 0.5608 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.1291, allocations: 57.92 kB / 0.5608 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1291, allocations: 0 / 0.5608 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.1291, allocations: 0 / 0.5608 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1291, allocations: 0 / 0.5608 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/0.1292, allocations: 15.98 kB / 0.5609 GB, free: 4.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.1294, allocations: 185.6 kB / 0.561 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1296, allocations: 50.61 kB / 0.5611 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.1297, allocations: 16.86 kB / 0.5611 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1297, allocations: 0 / 0.5611 GB, free: 4.207 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.1299, allocations: 75.27 kB / 0.5612 GB, free: 4.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1299, allocations: 0 / 0.5612 GB, free: 4.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000308/0.1302, allocations: 89.62 kB / 0.5613 GB, free: 4.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.1302, allocations: 59.39 kB / 0.5613 GB, free: 3.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1304, allocations: 199.5 kB / 0.5615 GB, free: 3.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1304, allocations: 25.7 kB / 0.5615 GB, free: 3.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.1305, allocations: 100.1 kB / 0.5616 GB, free: 3.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1305, allocations: 15.89 kB / 0.5616 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.1306, allocations: 17.72 kB / 0.5616 GB, free: 3.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1307, allocations: 330.8 kB / 0.562 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.021e-05/0.1308, allocations: 12 kB / 0.562 GB, free: 3.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.1309, allocations: 29.7 kB / 0.562 GB, free: 3.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.131, allocations: 49.64 kB / 0.5621 GB, free: 3.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.131, allocations: 0 / 0.5621 GB, free: 3.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001699/0.1311, allocations: 85.78 kB / 0.5621 GB, free: 3.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1311, allocations: 8 kB / 0.5621 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1312, allocations: 0 / 0.5621 GB, free: 3.051 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1312, allocations: 4.031 kB / 0.5621 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.1312, allocations: 15.98 kB / 0.5622 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1313, allocations: 4 kB / 0.5622 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.1313, allocations: 3.938 kB / 0.5622 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.1313, allocations: 4 kB / 0.5622 GB, free: 3.02 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 (7): * Single equations (assignments): 7 * 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.0001183/0.1314, allocations: 129.8 kB / 0.5623 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.1314, allocations: 11.89 kB / 0.5623 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.1315, allocations: 13 kB / 0.5623 GB, free: 2.855 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1315, allocations: 7.984 kB / 0.5623 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1315, allocations: 4 kB / 0.5623 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1315, allocations: 3.984 kB / 0.5623 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.1317, allocations: 189.6 kB / 0.5625 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1317, allocations: 0 / 0.5625 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.1317, allocations: 7.938 kB / 0.5625 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1317, allocations: 0 / 0.5625 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1317, allocations: 3.984 kB / 0.5625 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1317, allocations: 0 / 0.5625 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1317, allocations: 0 / 0.5625 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.1319, allocations: 109.1 kB / 0.5626 GB, free: 2.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.132, allocations: 88.98 kB / 0.5627 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.132, allocations: 0 / 0.5627 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.132, allocations: 4 kB / 0.5627 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.1321, allocations: 3.938 kB / 0.5627 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1321, allocations: 7.984 kB / 0.5627 GB, free: 2.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001377/0.1322, allocations: 148.2 kB / 0.5629 GB, free: 2.203 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1322, allocations: 0 / 0.5629 GB, free: 2.203 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1325, allocations: 23.92 kB / 0.5629 GB, free: 2.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001554/0.134, allocations: 407.4 kB / 0.5633 GB, free: 1.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1342, allocations: 35.98 kB / 0.5633 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1342, allocations: 0 / 0.5633 GB, free: 1.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.532e-05/0.1343, allocations: 23.92 kB / 0.5633 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.1346, allocations: 27.86 kB / 0.5634 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.1352, allocations: 235.6 kB / 0.5636 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1356, allocations: 0.7079 MB / 0.5643 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.1356, allocations: 19.42 kB / 0.5643 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1356, allocations: 0 / 0.5643 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of Templates: time 0.004614/0.1402, allocations: 1.736 MB / 0.566 GB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test39.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.755858000833541]