Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 106.1 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.00162/0.00162, 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.514/1.514, 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.2197/0.2197, allocations: 43.53 MB / 314.7 MB, free: 476 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.001481/0.001481, allocations: 69.61 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1024, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002559/0.105, allocations: 1.694 MB / 443.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.106, allocations: 0.7961 MB / 444.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.1061, allocations: 3.938 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1064, allocations: 43.81 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.1066, allocations: 55.7 kB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1068, allocations: 87.75 kB / 444.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.107, allocations: 91.7 kB / 444.7 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1071, allocations: 8.234 kB / 444.7 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.1072, allocations: 47.77 kB / 444.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.1073, allocations: 23.86 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1073, allocations: 8 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.1074, allocations: 43.98 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.753e-05/0.1074, allocations: 23.91 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.1075, allocations: 35.69 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1077, allocations: 111.6 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1077, allocations: 0 / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1077, allocations: 4 kB / 445 MB, free: 3.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1077, allocations: 0 / 445 MB, free: 3.051 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.0004912/0.1082, allocations: 410.9 kB / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1083, allocations: 15.89 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1083, allocations: 8.844 kB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1086, allocations: 209 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1086, allocations: 4.312 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.1086, allocations: 12.12 kB / 445.7 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.1088, allocations: 49.67 kB / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1088, allocations: 0 / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1088, allocations: 4 kB / 445.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1088, allocations: 4 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.211e-05/0.1089, allocations: 19.98 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/0.1092, allocations: 288.8 kB / 446 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.1094, allocations: 54.61 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.1095, allocations: 28.8 kB / 446.1 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1095, allocations: 7.984 kB / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.1096, allocations: 59.39 kB / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1096, allocations: 0 / 446.2 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005395/0.1102, allocations: 173.2 kB / 446.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.1102, allocations: 59.39 kB / 446.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1104, allocations: 186.1 kB / 446.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1104, allocations: 25.7 kB / 446.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.1104, allocations: 108.1 kB / 446.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.1105, allocations: 23.7 kB / 446.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.1105, allocations: 25.66 kB / 446.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.806e-05/0.1106, allocations: 326.8 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.121e-05/0.1106, allocations: 23.92 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.1107, allocations: 33.7 kB / 447.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.233e-05/0.1108, allocations: 65.7 kB / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1108, allocations: 0 / 447.2 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001486/0.1109, allocations: 105.6 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.111, allocations: 5.25 kB / 447.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.111, allocations: 4 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.111, allocations: 0 / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.1111, allocations: 12.38 kB / 447.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1111, allocations: 3.984 kB / 447.3 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1112, allocations: 7.938 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.1112, allocations: 15.97 kB / 447.4 MB, free: 496 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 7.265e-05/0.1113, allocations: 129.8 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.005e-05/0.1113, allocations: 15.8 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.1113, allocations: 12.72 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1113, allocations: 4 kB / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1113, allocations: 0 / 447.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1114, allocations: 3.938 kB / 447.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/0.1118, allocations: 395.3 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1118, allocations: 4 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.1118, allocations: 7.984 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1118, allocations: 4 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1119, allocations: 3.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1119, allocations: 3.938 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1119, allocations: 4 kB / 447.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.1121, allocations: 204.3 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.1122, allocations: 81.02 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1122, allocations: 11.92 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.1123, allocations: 0 / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1123, allocations: 8 kB / 448.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.1123, allocations: 7.984 kB / 448.2 MB, free: 15.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1124, allocations: 135.2 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1124, allocations: 0 / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1127, allocations: 27.89 kB / 448.4 MB, free: 15.33 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.001074/0.1138, allocations: 471 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.114, allocations: 59.92 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.114, allocations: 8 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.206e-05/0.1141, allocations: 35.91 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1144, allocations: 24.28 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.1149, allocations: 219.3 kB / 449.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.1152, allocations: 0.708 MB / 449.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.1153, allocations: 16.88 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.1153, allocations: 15.44 kB / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1153, allocations: 0 / 449.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of Templates: time 0.004744/0.1201, allocations: 1.689 MB / 451.6 MB, free: 12.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches