Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 105.5 kB / 16.94 MB, free: 5.801 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.001177/0.001177, allocations: 191.3 kB / 17.86 MB, free: 5.148 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.474/1.474, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2208/0.2208, allocations: 43.52 MB / 314.6 MB, free: 0.5312 MB / 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.001487/0.001487, allocations: 69.28 kB / 383.4 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1066, allocations: 57.78 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002769/0.1094, allocations: 1.695 MB / 442.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1105, allocations: 0.8 MB / 443.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.997e-05/0.1106, allocations: 4 kB / 443.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.1109, allocations: 59.75 kB / 443.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1112, allocations: 51.75 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1114, allocations: 87.75 kB / 443.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.1116, allocations: 95.7 kB / 444 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1117, allocations: 16.5 kB / 444 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.02e-05/0.1118, allocations: 39.8 kB / 444 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.322e-05/0.1118, allocations: 27.8 kB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1119, allocations: 4 kB / 444.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.374e-05/0.112, allocations: 47.97 kB / 444.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.652e-05/0.112, allocations: 27.91 kB / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.1121, allocations: 43.62 kB / 444.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1123, allocations: 135.5 kB / 444.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1123, allocations: 0 / 444.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1123, allocations: 0 / 444.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1123, allocations: 0 / 444.3 MB, free: 3.758 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.0004742/0.1128, allocations: 442.7 kB / 444.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1128, allocations: 19.83 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.1129, allocations: 12.75 kB / 444.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.113, allocations: 216.9 kB / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1131, allocations: 384 / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.1131, allocations: 16.12 kB / 445 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1132, allocations: 53.67 kB / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1133, allocations: 0 / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1133, allocations: 0 / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1133, allocations: 3.984 kB / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.1134, allocations: 19.98 kB / 445.1 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.1137, allocations: 312.7 kB / 445.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1138, allocations: 54.67 kB / 445.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.1139, allocations: 24.86 kB / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1139, allocations: 0 / 445.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.1141, allocations: 75.16 kB / 445.5 MB, free: 2.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1141, allocations: 0 / 445.5 MB, free: 2.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004994/0.1146, allocations: 185.1 kB / 445.7 MB, free: 2.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.1147, allocations: 51.41 kB / 445.8 MB, free: 2.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.1148, allocations: 275.8 kB / 446 MB, free: 1.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1149, allocations: 29.7 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.1149, allocations: 116.1 kB / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.1149, allocations: 23.66 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.115, allocations: 21.7 kB / 446.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/0.115, allocations: 334.8 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.982e-05/0.1151, allocations: 19.98 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.1152, allocations: 37.7 kB / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.592e-05/0.1153, allocations: 57.66 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1153, allocations: 0 / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001661/0.1154, allocations: 105.5 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1155, allocations: 4 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1155, allocations: 8.031 kB / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1155, allocations: 0 / 446.8 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.1156, allocations: 23.92 kB / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1156, allocations: 0 / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.1156, allocations: 7.938 kB / 446.8 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1157, allocations: 4 kB / 446.8 MB, free: 1.016 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 8.015e-05/0.1157, allocations: 133.8 kB / 446.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.143e-05/0.1158, allocations: 11.81 kB / 447 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.334e-05/0.1158, allocations: 25.39 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1158, allocations: 4 kB / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1158, allocations: 0 / 447 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1158, allocations: 3.938 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.1162, allocations: 407.2 kB / 447.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1162, allocations: 0 / 447.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.1162, allocations: 8 kB / 447.4 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1162, allocations: 4 kB / 447.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.1163, allocations: 11.91 kB / 447.4 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1163, allocations: 3.938 kB / 447.4 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1163, allocations: 0 / 447.4 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.1165, allocations: 208.2 kB / 447.6 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.1165, allocations: 85.2 kB / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.1165, allocations: 7.938 kB / 447.7 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.1166, allocations: 8.312 kB / 447.7 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.1167, allocations: 12.03 kB / 447.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1167, allocations: 4 kB / 447.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1169, allocations: 208.1 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1169, allocations: 0 / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1171, allocations: 24 kB / 448 MB, free: 15.77 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.001071/0.1182, allocations: 476.6 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1184, allocations: 59.91 kB / 448.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.1184, allocations: 4 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.1185, allocations: 27.92 kB / 448.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1189, allocations: 23.98 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.1195, allocations: 349.4 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.1198, allocations: 0.7158 MB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.1199, allocations: 15.44 kB / 449.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1199, allocations: 0 / 449.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of Templates: time 0.003909/0.1238, allocations: 2.083 MB / 451.7 MB, free: 12.07 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches