Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 104.2 kB / 18.4 MB, free: 4.676 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.001789/0.001789, allocations: 186.9 kB / 19.34 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2054/0.2054, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 65.53 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1089, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003094/0.112, allocations: 1.61 MB / 472.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008045/0.1128, allocations: 431.1 kB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.1129, allocations: 0 / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.1132, allocations: 39.83 kB / 472.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1134, allocations: 39.78 kB / 472.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.1137, allocations: 114.3 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1139, allocations: 75.83 kB / 473 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.114, allocations: 31.97 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.1141, allocations: 27.92 kB / 473.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.627e-05/0.1142, allocations: 39.78 kB / 473.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1142, allocations: 4 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.1143, allocations: 55.91 kB / 473.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.1144, allocations: 19.92 kB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.1144, allocations: 27.81 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.1146, allocations: 111.6 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1146, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1146, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1146, allocations: 0 / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004236/0.1151, allocations: 407.1 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.1151, allocations: 8.031 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/0.1152, allocations: 12.84 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1153, allocations: 208 kB / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.1154, allocations: 384 / 473.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1154, allocations: 8.375 kB / 473.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1155, allocations: 77.78 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1156, allocations: 0 / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1156, allocations: 4 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1156, allocations: 4 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.1157, allocations: 43.91 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.1161, allocations: 328.7 kB / 474.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1163, allocations: 62.5 kB / 474.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.1163, allocations: 24.84 kB / 474.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1164, allocations: 4 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.1164, allocations: 30.56 kB / 474.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.1164, allocations: 7.984 kB / 474.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009936/0.1174, allocations: 328.8 kB / 474.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.1174, allocations: 51.41 kB / 474.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1176, allocations: 156.2 kB / 475 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1176, allocations: 33.7 kB / 475.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.1177, allocations: 111.9 kB / 475.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.1177, allocations: 43.3 kB / 475.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.1178, allocations: 25.72 kB / 475.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1179, allocations: 322.8 kB / 475.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.975e-05/0.118, allocations: 43.97 kB / 475.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/0.1181, allocations: 47.97 kB / 475.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1183, allocations: 108.8 kB / 475.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1183, allocations: 0 / 475.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002752/0.1186, allocations: 145.5 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1186, allocations: 4 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1186, allocations: 3.938 kB / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1186, allocations: 0 / 475.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1187, allocations: 39.91 kB / 476 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1188, allocations: 4 kB / 476 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.1188, allocations: 4 kB / 476 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.1188, allocations: 4 kB / 476 MB, free: 8.172 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.948e-05/0.1189, allocations: 121.8 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.119, allocations: 11.91 kB / 476.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.1193, allocations: 188.7 kB / 476.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1193, allocations: 8 kB / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1193, allocations: 0 / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1193, allocations: 0 / 476.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.1199, allocations: 491.1 kB / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.12, allocations: 0 / 476.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.1201, allocations: 31.86 kB / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1201, allocations: 0 / 476.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1201, allocations: 12.03 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.1201, allocations: 3.984 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1201, allocations: 0 / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.1204, allocations: 252.1 kB / 477.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.1204, allocations: 85.02 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1205, allocations: 0 / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.1205, allocations: 15.98 kB / 477.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1206, allocations: 7.984 kB / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1206, allocations: 4 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.969e-05/0.1207, allocations: 121.6 kB / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1207, allocations: 0 / 477.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.121, allocations: 27.98 kB / 477.3 MB, free: 6.707 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0009803/0.122, allocations: 464.7 kB / 477.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002646/0.1222, allocations: 111.9 kB / 477.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1222, allocations: 0 / 477.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1224, allocations: 59.97 kB / 477.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1227, allocations: 29.34 kB / 478 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.1232, allocations: 250.9 kB / 478.2 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1235, allocations: 0.7041 MB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.125e-05/0.1236, allocations: 32.59 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.1236, allocations: 19.42 kB / 479 MB, free: 5.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1236, allocations: 0 / 479 MB, free: 5.184 MB / 350.1 MB Notification: Performance of Templates: time 0.004221/0.1279, allocations: 1.555 MB / 480.5 MB, free: 3.641 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches