Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 109.4 kB / 17.04 MB, free: 5.809 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.001101/0.001101, allocations: 195 kB / 17.98 MB, free: 5.027 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.672/1.672, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2195/0.2195, allocations: 43.52 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.001433/0.001433, allocations: 68.25 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1075, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002678/0.1102, allocations: 1.697 MB / 443.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.1112, allocations: 0.7961 MB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.1113, allocations: 4 kB / 444.5 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.1115, allocations: 35.83 kB / 444.5 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1117, allocations: 55.69 kB / 444.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1119, allocations: 87.77 kB / 444.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.112, allocations: 91.69 kB / 444.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.1121, allocations: 16.22 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.976e-05/0.1122, allocations: 39.78 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.794e-05/0.1122, allocations: 31.86 kB / 444.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1123, allocations: 4 kB / 444.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.1124, allocations: 43.97 kB / 444.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.1124, allocations: 19.88 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.013e-05/0.1124, allocations: 35.73 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1126, allocations: 107.7 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1126, allocations: 3.938 kB / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1126, allocations: 0 / 445 MB, free: 3.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1126, allocations: 0 / 445 MB, free: 3.059 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.0003717/0.113, allocations: 407 kB / 445.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.113, allocations: 11.89 kB / 445.4 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1131, allocations: 12.75 kB / 445.5 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1133, allocations: 214 kB / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1133, allocations: 384 / 445.7 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.1133, allocations: 12.12 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1134, allocations: 49.67 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1135, allocations: 0 / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1135, allocations: 8 kB / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.1135, allocations: 0 / 445.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.273e-05/0.1135, allocations: 19.98 kB / 445.8 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002464/0.1138, allocations: 284.8 kB / 446 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.1139, allocations: 54.67 kB / 446.1 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.114, allocations: 24.84 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.114, allocations: 0 / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.1141, allocations: 67.39 kB / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.1141, allocations: 0 / 446.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004351/0.1146, allocations: 173.2 kB / 446.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.1146, allocations: 55.34 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1147, allocations: 178 kB / 446.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.1148, allocations: 29.7 kB / 446.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.1148, allocations: 104.1 kB / 446.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.1148, allocations: 27.64 kB / 446.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.1149, allocations: 25.7 kB / 446.8 MB, free: 1.129 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.1149, allocations: 326.8 kB / 447.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/0.115, allocations: 16 kB / 447.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.121e-05/0.115, allocations: 38.08 kB / 447.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.032e-05/0.1151, allocations: 65.77 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1151, allocations: 0 / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001444/0.1153, allocations: 101.5 kB / 447.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1153, allocations: 9.25 kB / 447.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1153, allocations: 3.984 kB / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1153, allocations: 0 / 447.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.821e-05/0.1154, allocations: 15.94 kB / 447.3 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1154, allocations: 8.031 kB / 447.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.1155, allocations: 7.938 kB / 447.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1155, allocations: 4 kB / 447.3 MB, free: 0.5195 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.229e-05/0.1156, allocations: 129.1 kB / 447.5 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.1156, allocations: 11.81 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.1156, allocations: 16.7 kB / 447.5 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1156, allocations: 4 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1157, allocations: 0 / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1157, allocations: 3.938 kB / 447.5 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.116, allocations: 391.3 kB / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.116, allocations: 0 / 447.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.1161, allocations: 8 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1161, allocations: 0 / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1161, allocations: 7.938 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1161, allocations: 0 / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1161, allocations: 3.984 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1163, allocations: 204.3 kB / 448.1 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.1164, allocations: 88.95 kB / 448.2 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1164, allocations: 7.938 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1165, allocations: 4 kB / 448.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.1165, allocations: 11.97 kB / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1165, allocations: 0 / 448.2 MB, free: 15.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.163e-05/0.1166, allocations: 131.2 kB / 448.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1166, allocations: 4.188 kB / 448.3 MB, free: 15.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1169, allocations: 27.98 kB / 448.4 MB, free: 15.38 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.0009934/0.1179, allocations: 459.6 kB / 448.8 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1181, allocations: 71.94 kB / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1181, allocations: 0 / 448.9 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/0.1182, allocations: 23.94 kB / 448.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.1185, allocations: 35.97 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.1189, allocations: 206.9 kB / 449.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.1192, allocations: 0.708 MB / 449.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.169e-05/0.1193, allocations: 16.88 kB / 449.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.1193, allocations: 11.44 kB / 449.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1193, allocations: 4 kB / 449.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of Templates: time 0.00427/0.1236, allocations: 1.68 MB / 451.6 MB, free: 12.21 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches