Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001088/0.001089, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001273/0.001273, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 242.2 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.16 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1179, allocations: 60.83 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003395/0.1213, allocations: 1.699 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1234, allocations: 1.479 MB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.1234, allocations: 4 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003168/0.1238, allocations: 31.77 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.124, allocations: 55.75 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.1243, allocations: 107.6 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1245, allocations: 103.7 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1246, allocations: 12.22 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.1247, allocations: 39.8 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1249, allocations: 43.77 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1249, allocations: 4 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1251, allocations: 59.92 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.1251, allocations: 19.91 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.837e-05/0.1252, allocations: 27.81 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.1254, allocations: 128 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1254, allocations: 0 / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.1255, allocations: 0 / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1255, allocations: 3.938 kB / 473.1 MB, free: 10.54 MB / 350.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.0005665/0.126, allocations: 403.1 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1261, allocations: 12.03 kB / 473.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.1261, allocations: 8.844 kB / 473.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1264, allocations: 200.1 kB / 473.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.1264, allocations: 8.359 kB / 473.7 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1265, allocations: 12.12 kB / 473.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1266, allocations: 71.38 kB / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1267, allocations: 0 / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1267, allocations: 0 / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1267, allocations: 0 / 473.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.1268, allocations: 23.92 kB / 473.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.1272, allocations: 276.9 kB / 474.1 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1274, allocations: 58.69 kB / 474.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.113e-05/0.1274, allocations: 20.84 kB / 474.1 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.1275, allocations: 4 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.1277, allocations: 67.33 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1278, allocations: 7.938 kB / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006128/0.1284, allocations: 181.3 kB / 474.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.1285, allocations: 77.11 kB / 474.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1286, allocations: 156.4 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.1286, allocations: 29.7 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.1287, allocations: 88.14 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.1287, allocations: 27.69 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.1288, allocations: 21.72 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.129, allocations: 334.8 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.688e-05/0.129, allocations: 19.98 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.1291, allocations: 38.56 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1292, allocations: 65.64 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1292, allocations: 0 / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001806/0.1294, allocations: 97.75 kB / 475.3 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1295, allocations: 4 kB / 475.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1295, allocations: 3.938 kB / 475.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1295, allocations: 4 kB / 475.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.1296, allocations: 19.98 kB / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1296, allocations: 0 / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.1297, allocations: 11.88 kB / 475.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1297, allocations: 4 kB / 475.4 MB, free: 7.984 MB / 350.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.039e-05/0.1298, allocations: 121.9 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.1298, allocations: 7.906 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.1299, allocations: 12.72 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1299, allocations: 0 / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1299, allocations: 4 kB / 475.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1299, allocations: 3.938 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.1303, allocations: 391.3 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1303, allocations: 0 / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.1304, allocations: 15.97 kB / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1304, allocations: 0 / 475.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1304, allocations: 7.938 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1304, allocations: 4 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1304, allocations: 0 / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.1306, allocations: 196.2 kB / 476.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.1307, allocations: 85 kB / 476.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1307, allocations: 19.88 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.1308, allocations: 0 / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.1309, allocations: 7.984 kB / 476.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1309, allocations: 7.938 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.383e-05/0.131, allocations: 115.2 kB / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.131, allocations: 0 / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.1313, allocations: 36 kB / 476.4 MB, free: 6.859 MB / 350.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.001218/0.1325, allocations: 0.4995 MB / 476.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1327, allocations: 63.92 kB / 476.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.1327, allocations: 0 / 476.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/0.1328, allocations: 27.92 kB / 477 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1332, allocations: 27.97 kB / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.1336, allocations: 202.9 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.1339, allocations: 0.6973 MB / 477.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.1339, allocations: 17.17 kB / 477.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.134, allocations: 19.44 kB / 477.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.134, allocations: 4 kB / 477.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of Templates: time 0.004752/0.1388, allocations: 1.972 MB / 479.9 MB, free: 3.496 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches