Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 107 kB / 17.03 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2118/0.2118, allocations: 43.53 MB / 314.7 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 73.84 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1229, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003296/0.1262, allocations: 1.689 MB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.1281, allocations: 1.402 MB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1282, allocations: 3.938 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003554/0.1286, allocations: 43.83 kB / 445.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.1289, allocations: 63.67 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1293, allocations: 79.78 kB / 445.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1295, allocations: 99.67 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1296, allocations: 16.23 kB / 445.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.1297, allocations: 39.78 kB / 445.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1298, allocations: 39.78 kB / 445.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.1298, allocations: 4 kB / 445.4 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.13, allocations: 63.95 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.13, allocations: 15.92 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.1301, allocations: 27.81 kB / 445.5 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1304, allocations: 123.6 kB / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1304, allocations: 0 / 445.7 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1304, allocations: 4 kB / 445.7 MB, free: 2.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1304, allocations: 0 / 445.7 MB, free: 2.41 MB / 318.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.0005281/0.1309, allocations: 407 kB / 446.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.131, allocations: 11.89 kB / 446.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.131, allocations: 12.83 kB / 446.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.1313, allocations: 201.3 kB / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1313, allocations: 384 / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1314, allocations: 12.11 kB / 446.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.1315, allocations: 71.39 kB / 446.4 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1316, allocations: 3.906 kB / 446.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1316, allocations: 3.984 kB / 446.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1316, allocations: 0 / 446.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.1317, allocations: 27.92 kB / 446.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.132, allocations: 284.8 kB / 446.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1321, allocations: 62.62 kB / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.1322, allocations: 20.84 kB / 446.8 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1322, allocations: 7.938 kB / 446.8 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.1324, allocations: 63.39 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1324, allocations: 0 / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.000538/0.1329, allocations: 173.3 kB / 447 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.133, allocations: 77.11 kB / 447.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.1331, allocations: 156.9 kB / 447.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1331, allocations: 25.7 kB / 447.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.1332, allocations: 96.14 kB / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.1332, allocations: 27.62 kB / 447.4 MB, free: 500 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1332, allocations: 29.72 kB / 447.4 MB, free: 464 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.1333, allocations: 326.8 kB / 447.7 MB, free: 128 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.1334, allocations: 27.98 kB / 447.8 MB, free: 100 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/0.1334, allocations: 38.56 kB / 447.8 MB, free: 52 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.1336, allocations: 57.73 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1336, allocations: 0 / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.1338, allocations: 101.5 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1338, allocations: 9.312 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1338, allocations: 0 / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1338, allocations: 4 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.1339, allocations: 15.98 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.134, allocations: 0 / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/0.134, allocations: 11.84 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.134, allocations: 4 kB / 448 MB, free: 15.84 MB / 334.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 9.952e-05/0.1341, allocations: 121.8 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.1342, allocations: 11.89 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1342, allocations: 16.88 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1342, allocations: 0 / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.1342, allocations: 4 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1343, allocations: 7.875 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.1347, allocations: 387.3 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1347, allocations: 0 / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.1348, allocations: 16.31 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1348, allocations: 3.938 kB / 448.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1348, allocations: 3.969 kB / 448.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.1348, allocations: 12.19 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1348, allocations: 0 / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.135, allocations: 204.2 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.1351, allocations: 85 kB / 448.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1351, allocations: 7.938 kB / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.1352, allocations: 0 / 448.9 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1353, allocations: 15.92 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1353, allocations: 8 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.695e-05/0.1354, allocations: 115.2 kB / 449 MB, free: 14.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1354, allocations: 0 / 449 MB, free: 14.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1357, allocations: 32 kB / 449 MB, free: 14.7 MB / 334.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.001177/0.1369, allocations: 0.4945 MB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1371, allocations: 55.92 kB / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1371, allocations: 0 / 449.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.1372, allocations: 36.05 kB / 449.6 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.1375, allocations: 24.28 kB / 449.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.138, allocations: 202.8 kB / 449.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.1383, allocations: 0.7002 MB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.1384, allocations: 12.95 kB / 450.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.1385, allocations: 19.42 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1385, allocations: 0 / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Templates: time 0.005231/0.1437, allocations: 1.949 MB / 452.5 MB, free: 11.25 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches