Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001624, allocations: 106.4 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.001378/0.001378, allocations: 194.9 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.56/1.56, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2149/0.2149, 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.001696/0.001696, allocations: 67.34 kB / 384.2 MB, free: 56.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1061, allocations: 57.8 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003179/0.1093, allocations: 1.692 MB / 443.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1104, allocations: 0.7922 MB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.1105, allocations: 4 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1109, allocations: 39.78 kB / 444.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.1111, allocations: 59.73 kB / 444.6 MB, free: 3.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.1113, allocations: 79.72 kB / 444.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1115, allocations: 103.7 kB / 444.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1116, allocations: 8.219 kB / 444.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.167e-05/0.1117, allocations: 43.8 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.385e-05/0.1117, allocations: 31.83 kB / 444.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.1118, allocations: 4 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.457e-05/0.1118, allocations: 43.98 kB / 444.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.1119, allocations: 11.94 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.112, allocations: 31.8 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.1122, allocations: 111.6 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1122, allocations: 4 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1122, allocations: 0 / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1122, allocations: 4 kB / 445 MB, free: 3.047 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.0004784/0.1127, allocations: 407 kB / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1127, allocations: 15.89 kB / 445.4 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1128, allocations: 12.75 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.113, allocations: 214.1 kB / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.113, allocations: 384 / 445.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.113, allocations: 4.125 kB / 445.7 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1131, allocations: 61.61 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1132, allocations: 0 / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1132, allocations: 0 / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1132, allocations: 4 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.469e-05/0.1133, allocations: 23.92 kB / 445.8 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002618/0.1135, allocations: 280.9 kB / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1137, allocations: 62.61 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.1137, allocations: 20.84 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1137, allocations: 4 kB / 446.1 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.1139, allocations: 63.39 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1139, allocations: 0 / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004584/0.1143, allocations: 173.2 kB / 446.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.1144, allocations: 55.41 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1145, allocations: 170.1 kB / 446.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1145, allocations: 33.7 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.1146, allocations: 104.1 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.1146, allocations: 19.66 kB / 446.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.1146, allocations: 25.7 kB / 446.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.1147, allocations: 326.8 kB / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.1147, allocations: 20 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.1148, allocations: 37.64 kB / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.478e-05/0.1149, allocations: 61.78 kB / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1149, allocations: 0 / 447.2 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001467/0.1151, allocations: 101.5 kB / 447.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.1151, allocations: 9.188 kB / 447.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1151, allocations: 0 / 447.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1151, allocations: 4 kB / 447.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.1152, allocations: 16.36 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1152, allocations: 0 / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.1153, allocations: 11.97 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.1153, allocations: 8 kB / 447.3 MB, free: 0.5117 MB / 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.495e-05/0.1154, allocations: 133.7 kB / 447.5 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.1154, allocations: 11.81 kB / 447.5 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.1154, allocations: 12.72 kB / 447.5 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.1154, allocations: 3.984 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1154, allocations: 0 / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1154, allocations: 7.922 kB / 447.5 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.1158, allocations: 395.3 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1158, allocations: 0 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.1159, allocations: 8 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1159, allocations: 192 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1159, allocations: 3.938 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1159, allocations: 7.938 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1159, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1161, allocations: 212.2 kB / 448.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.1162, allocations: 81.02 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1162, allocations: 7.938 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.1163, allocations: 0 / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1163, allocations: 11.98 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1164, allocations: 4 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.02e-05/0.1165, allocations: 127.2 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1165, allocations: 0 / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1167, allocations: 27.98 kB / 448.4 MB, free: 15.36 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.001009/0.1177, allocations: 471 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.1179, allocations: 55.92 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1179, allocations: 4 kB / 448.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.118, allocations: 31.92 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1183, allocations: 32.27 kB / 448.9 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.1187, allocations: 206.9 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.119, allocations: 0.7081 MB / 449.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.383e-05/0.1191, allocations: 16.88 kB / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.1191, allocations: 15.44 kB / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1191, allocations: 0 / 449.9 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Templates: time 0.004479/0.1236, allocations: 1.679 MB / 451.6 MB, free: 12.2 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches