Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 101.5 kB / 17.03 MB, free: 5.703 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.001359/0.001359, allocations: 196.1 kB / 17.96 MB, free: 5.082 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.727/1.727, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2423/0.2423, allocations: 43.52 MB / 314.7 MB, free: 472 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.001569/0.001569, allocations: 72.77 kB / 384.2 MB, free: 56.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1182, allocations: 57.79 MB / 442 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003054/0.1213, allocations: 1.693 MB / 443.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1223, allocations: 0.7961 MB / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/0.1224, allocations: 0 / 444.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1227, allocations: 39.77 kB / 444.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1229, allocations: 59.75 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1232, allocations: 90.69 kB / 444.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1233, allocations: 95.7 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.1234, allocations: 8.219 kB / 444.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.1235, allocations: 43.78 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.1236, allocations: 23.86 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1236, allocations: 8 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.1237, allocations: 47.97 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.1237, allocations: 23.92 kB / 444.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.1238, allocations: 31.75 kB / 444.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1239, allocations: 115.6 kB / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.124, allocations: 0 / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.124, allocations: 0 / 445 MB, free: 3.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.124, allocations: 0 / 445 MB, free: 3.031 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.0004646/0.1244, allocations: 410.9 kB / 445.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1245, allocations: 19.89 kB / 445.5 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.407e-05/0.1245, allocations: 8.844 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1248, allocations: 209.2 kB / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1248, allocations: 384 / 445.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1248, allocations: 12.12 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1249, allocations: 53.61 kB / 445.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.125, allocations: 0 / 445.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.125, allocations: 4 kB / 445.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.125, allocations: 0 / 445.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.082e-05/0.1251, allocations: 23.98 kB / 445.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.1254, allocations: 284.8 kB / 446 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1255, allocations: 58.61 kB / 446.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/0.1256, allocations: 20.8 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1256, allocations: 4 kB / 446.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.1257, allocations: 75.31 kB / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1257, allocations: 0 / 446.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004791/0.1262, allocations: 173.2 kB / 446.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1263, allocations: 51.41 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1264, allocations: 194.1 kB / 446.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.1264, allocations: 25.7 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.1265, allocations: 108.1 kB / 446.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.1265, allocations: 19.72 kB / 446.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.1265, allocations: 29.7 kB / 446.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.1266, allocations: 326.8 kB / 447.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.78e-05/0.1266, allocations: 12 kB / 447.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.193e-05/0.1267, allocations: 42.02 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.8e-05/0.1268, allocations: 61.7 kB / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1268, allocations: 0 / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001431/0.127, allocations: 113.6 kB / 447.3 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.127, allocations: 5.25 kB / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.127, allocations: 0 / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.127, allocations: 0 / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.089e-05/0.1271, allocations: 19.98 kB / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1271, allocations: 0 / 447.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.1271, allocations: 7.922 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1272, allocations: 8.031 kB / 447.4 MB, free: 476 kB / 318.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 6.873e-05/0.1272, allocations: 129.7 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.1273, allocations: 15.81 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1273, allocations: 16.7 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1273, allocations: 0 / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1273, allocations: 0 / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1273, allocations: 3.938 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003871/0.1277, allocations: 399.3 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1277, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.1278, allocations: 11.98 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1278, allocations: 0 / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1278, allocations: 7.938 kB / 447.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1278, allocations: 3.938 kB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1278, allocations: 0 / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1281, allocations: 208.2 kB / 448.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.1281, allocations: 85.2 kB / 448.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1282, allocations: 3.938 kB / 448.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1282, allocations: 11.92 kB / 448.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.1283, allocations: 8 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.1283, allocations: 0 / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.1284, allocations: 143.2 kB / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1284, allocations: 0 / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1287, allocations: 23.91 kB / 448.4 MB, free: 15.3 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.001049/0.1297, allocations: 467.8 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1299, allocations: 59.91 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1299, allocations: 8 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.13, allocations: 31.98 kB / 449 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1304, allocations: 24.3 kB / 449 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.1308, allocations: 219.2 kB / 449.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1312, allocations: 0.708 MB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.1312, allocations: 20.92 kB / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.1313, allocations: 15.44 kB / 449.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1313, allocations: 0 / 449.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of Templates: time 0.004759/0.136, allocations: 1.689 MB / 451.6 MB, free: 12.12 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches