Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001096, allocations: 97.66 kB / 18 MB, free: 5.738 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.001347/0.001347, allocations: 179.8 kB / 18.91 MB, free: 4.871 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.361/1.361, allocations: 223.3 MB / 243 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2121/0.2121, allocations: 44.25 MB / 338.3 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003045, allocations: 10.16 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1094, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002052/0.1115, allocations: 1.301 MB / 474.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007774/0.1124, allocations: 403.4 kB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.1124, allocations: 0 / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.1127, allocations: 103.8 kB / 474.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1129, allocations: 71.72 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.1133, allocations: 106.7 kB / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.1134, allocations: 71.88 kB / 475 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1136, allocations: 12.17 kB / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.969e-05/0.1136, allocations: 43.77 kB / 475 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1137, allocations: 59.88 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1138, allocations: 4 kB / 475.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1139, allocations: 35.98 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.1139, allocations: 27.86 kB / 475.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.114, allocations: 53.45 kB / 475.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1142, allocations: 84.09 kB / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1142, allocations: 0 / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1142, allocations: 0 / 475.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1142, allocations: 0 / 475.3 MB, free: 10.96 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004827/0.1147, allocations: 418.9 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1147, allocations: 12.03 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.949e-05/0.1148, allocations: 8.844 kB / 475.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.115, allocations: 220.5 kB / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.115, allocations: 384 / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.115, allocations: 384 / 475.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1152, allocations: 57.62 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1152, allocations: 0 / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1152, allocations: 4 kB / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1152, allocations: 0 / 476 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1154, allocations: 39.91 kB / 476 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1158, allocations: 304.7 kB / 476.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1159, allocations: 50.56 kB / 476.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.116, allocations: 24.94 kB / 476.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.116, allocations: 3.938 kB / 476.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.116, allocations: 30.56 kB / 476.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.116, allocations: 0 / 476.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009286/0.117, allocations: 273.1 kB / 476.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.117, allocations: 51.41 kB / 476.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1173, allocations: 242.5 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1173, allocations: 29.7 kB / 477 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.1174, allocations: 108.1 kB / 477.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.1174, allocations: 23.66 kB / 477.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1174, allocations: 13.7 kB / 477.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1175, allocations: 330.8 kB / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.1176, allocations: 27.98 kB / 477.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.1177, allocations: 35.97 kB / 477.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.1179, allocations: 85 kB / 477.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1179, allocations: 3.938 kB / 477.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002373/0.1181, allocations: 125.4 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1182, allocations: 4 kB / 477.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1182, allocations: 4 kB / 477.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1182, allocations: 7.984 kB / 477.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.1183, allocations: 20 kB / 477.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/0.1183, allocations: 3.938 kB / 477.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.1184, allocations: 7.984 kB / 477.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1184, allocations: 4 kB / 477.8 MB, free: 8.203 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 (8): * Single equations (assignments): 8 * 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 0.0001134/0.1185, allocations: 133.8 kB / 477.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.1185, allocations: 19.75 kB / 477.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.1188, allocations: 139 kB / 478.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1189, allocations: 4 kB / 478.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1189, allocations: 3.938 kB / 478.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1189, allocations: 432 / 478.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.1194, allocations: 431.3 kB / 478.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1194, allocations: 0 / 478.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-05/0.1195, allocations: 19.94 kB / 478.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1195, allocations: 7.984 kB / 478.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1196, allocations: 7.969 kB / 478.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1196, allocations: 0 / 478.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1196, allocations: 3.984 kB / 478.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1198, allocations: 220.2 kB / 478.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.1199, allocations: 96.84 kB / 478.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.1199, allocations: 8 kB / 478.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.12, allocations: 4 kB / 478.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.12, allocations: 7.984 kB / 478.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1201, allocations: 4 kB / 478.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001531/0.1202, allocations: 188.3 kB / 479.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1202, allocations: 0 / 479.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1205, allocations: 20 kB / 479.1 MB, free: 6.805 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 (8): * Single equations (assignments): 8 * 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.001023/0.1215, allocations: 457.8 kB / 479.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1218, allocations: 87.94 kB / 479.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1218, allocations: 0 / 479.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1219, allocations: 47.91 kB / 479.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1222, allocations: 11.94 kB / 479.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.1228, allocations: 364 kB / 480 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.123, allocations: 0.716 MB / 480.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.1231, allocations: 15.44 kB / 480.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1231, allocations: 3.938 kB / 480.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of Templates: time 0.003776/0.1269, allocations: 1.812 MB / 482.6 MB, free: 3.426 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches