Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 96.98 kB / 16.93 MB, free: 6.188 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.001397/0.001398, allocations: 191.6 kB / 17.86 MB, free: 5.289 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.435/1.435, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.225/0.225, allocations: 43.52 MB / 314.6 MB, free: 0.5156 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.0018/0.0018, allocations: 73.28 kB / 383.4 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1049, allocations: 57.79 MB / 441.2 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003177/0.1082, allocations: 1.693 MB / 442.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1093, allocations: 0.7961 MB / 443.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.257e-05/0.1094, allocations: 0 / 443.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1098, allocations: 95.73 kB / 443.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1101, allocations: 79.66 kB / 443.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1104, allocations: 87.7 kB / 443.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1105, allocations: 107.7 kB / 444.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1107, allocations: 16.5 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.675e-05/0.1108, allocations: 51.78 kB / 444.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.822e-05/0.1109, allocations: 59.81 kB / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.1109, allocations: 0 / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.111, allocations: 47.92 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.1111, allocations: 23.91 kB / 444.2 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.468e-05/0.1111, allocations: 35.75 kB / 444.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1113, allocations: 123.5 kB / 444.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1114, allocations: 4 kB / 444.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1114, allocations: 0 / 444.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1114, allocations: 0 / 444.4 MB, free: 3.656 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.0004759/0.1119, allocations: 422.8 kB / 444.8 MB, free: 3.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1119, allocations: 15.89 kB / 444.8 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.112, allocations: 8.844 kB / 444.8 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.1122, allocations: 227.8 kB / 445.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1122, allocations: 4.375 kB / 445.1 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1122, allocations: 4.125 kB / 445.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1124, allocations: 57.67 kB / 445.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1124, allocations: 0 / 445.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1124, allocations: 0 / 445.1 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1124, allocations: 4 kB / 445.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.651e-05/0.1125, allocations: 15.98 kB / 445.2 MB, free: 2.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.1128, allocations: 292.8 kB / 445.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.113, allocations: 58.67 kB / 445.5 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.113, allocations: 16.86 kB / 445.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.113, allocations: 3.984 kB / 445.5 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1132, allocations: 71.33 kB / 445.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.1132, allocations: 0 / 445.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005261/0.1138, allocations: 181.3 kB / 445.8 MB, free: 2.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.1138, allocations: 59.39 kB / 445.8 MB, free: 2.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.114, allocations: 226.6 kB / 446 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.114, allocations: 25.7 kB / 446.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.1141, allocations: 108.1 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1141, allocations: 31.62 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.1141, allocations: 21.72 kB / 446.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.1142, allocations: 326.8 kB / 446.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.1143, allocations: 27.98 kB / 446.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.1143, allocations: 33.7 kB / 446.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.251e-05/0.1144, allocations: 57.7 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1144, allocations: 0 / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001534/0.1146, allocations: 101.4 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1146, allocations: 8 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1146, allocations: 4.031 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1146, allocations: 0 / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.1147, allocations: 23.92 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1147, allocations: 0 / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.1148, allocations: 3.938 kB / 446.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.1148, allocations: 4 kB / 446.8 MB, free: 1.023 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 7.761e-05/0.1149, allocations: 137.8 kB / 446.9 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.1149, allocations: 11.91 kB / 446.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.115, allocations: 21.33 kB / 447 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.115, allocations: 4 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.115, allocations: 0 / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.115, allocations: 7.938 kB / 447 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1153, allocations: 395.2 kB / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1153, allocations: 0 / 447.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1154, allocations: 11.98 kB / 447.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1154, allocations: 0 / 447.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1154, allocations: 11.94 kB / 447.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1154, allocations: 4.031 kB / 447.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1154, allocations: 0 / 447.4 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.1156, allocations: 200.2 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.1156, allocations: 93.11 kB / 447.7 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1156, allocations: 3.938 kB / 447.7 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.1157, allocations: 11.92 kB / 447.7 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.1158, allocations: 8 kB / 447.7 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1158, allocations: 8 kB / 447.7 MB, free: 4 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1159, allocations: 163.2 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1159, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1162, allocations: 20 kB / 447.9 MB, free: 15.82 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.001039/0.1173, allocations: 482 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1175, allocations: 59.95 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1175, allocations: 0 / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-05/0.1175, allocations: 31.92 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1179, allocations: 31.92 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.1184, allocations: 276.9 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1187, allocations: 0.708 MB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.339e-05/0.1188, allocations: 23.42 kB / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1188, allocations: 0 / 449.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of Templates: time 0.003938/0.1227, allocations: 1.976 MB / 451.5 MB, free: 12.29 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches