Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009445, allocations: 94.31 kB / 18.01 MB, free: 5.734 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.001164/0.001165, allocations: 177.2 kB / 18.91 MB, free: 4.867 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.383/1.383, allocations: 223.3 MB / 243 MB, free: 84 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.2117/0.2117, allocations: 44.24 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002983/0.0002983, allocations: 9.031 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1078, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001704/0.1095, allocations: 1.274 MB / 474.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006604/0.1102, allocations: 391.4 kB / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.1103, allocations: 0 / 474.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.1105, allocations: 23.91 kB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1106, allocations: 35.92 kB / 474.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1108, allocations: 75.84 kB / 474.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.111, allocations: 51.78 kB / 474.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.301e-05/0.1111, allocations: 15.98 kB / 474.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.023e-05/0.1111, allocations: 11.92 kB / 474.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.1112, allocations: 23.86 kB / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1112, allocations: 0 / 474.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.1113, allocations: 27.98 kB / 474.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.403e-05/0.1113, allocations: 15.94 kB / 474.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.1114, allocations: 49.55 kB / 474.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1115, allocations: 63.8 kB / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1115, allocations: 0 / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1115, allocations: 0 / 475 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1115, allocations: 0 / 475 MB, free: 11.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003809/0.1119, allocations: 371.5 kB / 475.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.1119, allocations: 8.031 kB / 475.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.112, allocations: 12.84 kB / 475.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1121, allocations: 190.6 kB / 475.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1121, allocations: 4.375 kB / 475.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1122, allocations: 384 / 475.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1123, allocations: 57.8 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1123, allocations: 3.938 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.1123, allocations: 0 / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1123, allocations: 4 kB / 475.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.614e-05/0.1124, allocations: 31.98 kB / 475.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.1128, allocations: 272.8 kB / 475.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.113, allocations: 46.5 kB / 475.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.113, allocations: 24.94 kB / 476 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.113, allocations: 0 / 476 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1131, allocations: 38.5 kB / 476 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1131, allocations: 0 / 476 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005219/0.1136, allocations: 157.3 kB / 476.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.1137, allocations: 51.41 kB / 476.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1138, allocations: 169.8 kB / 476.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1138, allocations: 25.7 kB / 476.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.1139, allocations: 104 kB / 476.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.1139, allocations: 15.75 kB / 476.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.114, allocations: 17.72 kB / 476.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1141, allocations: 322.8 kB / 476.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.1142, allocations: 23.98 kB / 476.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.1142, allocations: 15.98 kB / 476.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1144, allocations: 60.83 kB / 476.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1144, allocations: 0 / 476.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001769/0.1146, allocations: 89.52 kB / 477 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1146, allocations: 8 kB / 477 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1146, allocations: 0 / 477 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.1146, allocations: 0 / 477 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.1147, allocations: 15.98 kB / 477.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1147, allocations: 0 / 477.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.1147, allocations: 8 kB / 477.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1148, allocations: 4 kB / 477.1 MB, free: 8.934 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 (5): * Single equations (assignments): 5 * 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.178e-05/0.1148, allocations: 126.3 kB / 477.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.1149, allocations: 7.906 kB / 477.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.1151, allocations: 97.91 kB / 477.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1151, allocations: 0 / 477.3 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1151, allocations: 4 kB / 477.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1151, allocations: 0 / 477.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.1155, allocations: 354.8 kB / 477.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.1155, allocations: 4.062 kB / 477.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.1156, allocations: 19.92 kB / 477.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1156, allocations: 0 / 477.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1156, allocations: 4 kB / 477.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1156, allocations: 3.938 kB / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1156, allocations: 0 / 477.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1158, allocations: 187.4 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.1159, allocations: 89.02 kB / 477.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1159, allocations: 4 kB / 478 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.116, allocations: 11.92 kB / 478 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.116, allocations: 4 kB / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.116, allocations: 0 / 478 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.641e-05/0.1161, allocations: 130 kB / 478.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1161, allocations: 0 / 478.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.1164, allocations: 19.98 kB / 478.1 MB, free: 7.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009024/0.1173, allocations: 409.5 kB / 478.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1175, allocations: 55.95 kB / 478.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1175, allocations: 0 / 478.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.136e-05/0.1176, allocations: 31.98 kB / 478.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.1179, allocations: 12 kB / 478.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003732/0.1183, allocations: 243.1 kB / 478.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.1185, allocations: 0.6965 MB / 479.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.1186, allocations: 15.42 kB / 479.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1186, allocations: 0 / 479.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of Templates: time 0.002885/0.1215, allocations: 1.391 MB / 481 MB, free: 5.039 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches