Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 116.7 kB / 17.33 MB, free: 5.977 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.001442/0.001442, allocations: 193.3 kB / 18.25 MB, free: 5.074 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.44/1.44, allocations: 222.9 MB / 241.9 MB, free: 15.46 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.2169/0.2169, allocations: 44.17 MB / 336.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.98 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1036, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.003267/0.1069, allocations: 1.669 MB / 470.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1085, allocations: 1.011 MB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.1086, allocations: 4 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.1088, allocations: 15.92 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1091, allocations: 39.84 kB / 471.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.1095, allocations: 127 kB / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1097, allocations: 63.78 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1098, allocations: 8.188 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.1099, allocations: 31.91 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.1101, allocations: 27.84 kB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1101, allocations: 4 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1102, allocations: 51.97 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.1103, allocations: 19.92 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1104, allocations: 27.81 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.1106, allocations: 95.75 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1107, allocations: 0 / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1107, allocations: 0 / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.1107, allocations: 3.938 kB / 471.9 MB, free: 11.54 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.0005405/0.1112, allocations: 382.5 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1113, allocations: 8.031 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.1113, allocations: 8.844 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.1116, allocations: 196.1 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1116, allocations: 8.375 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1116, allocations: 4.375 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.1118, allocations: 75.27 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1118, allocations: 0 / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1119, allocations: 8 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1119, allocations: 0 / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.112, allocations: 31.97 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.1124, allocations: 292.7 kB / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1126, allocations: 42.5 kB / 472.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.1126, allocations: 24.94 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1127, allocations: 4 kB / 473 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.1127, allocations: 30.56 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1127, allocations: 0 / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007591/0.1135, allocations: 201.2 kB / 473.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.1136, allocations: 81.11 kB / 473.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1138, allocations: 143.6 kB / 473.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1138, allocations: 25.7 kB / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.1138, allocations: 96.05 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1139, allocations: 19.64 kB / 473.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.1139, allocations: 21.72 kB / 473.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.1141, allocations: 318.8 kB / 473.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.1143, allocations: 44.03 kB / 473.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1144, allocations: 41.69 kB / 474 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.1146, allocations: 84.97 kB / 474.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1147, allocations: 0 / 474.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002948/0.115, allocations: 109.6 kB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.115, allocations: 4 kB / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.115, allocations: 0 / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.115, allocations: 288 / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1151, allocations: 19.98 kB / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1152, allocations: 0 / 474.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.762e-05/0.1152, allocations: 19.92 kB / 474.2 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1152, allocations: 4 kB / 474.2 MB, free: 9 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 (7): * Single equations (assignments): 7 * 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 9.5e-05/0.1153, allocations: 118.3 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.1154, allocations: 11.89 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.1157, allocations: 121.9 kB / 474.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1157, allocations: 7.984 kB / 474.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1158, allocations: 3.938 kB / 474.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1158, allocations: 7.938 kB / 474.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005593/0.1163, allocations: 386.5 kB / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1164, allocations: 0 / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.605e-05/0.1164, allocations: 15.98 kB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1165, allocations: 0 / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1165, allocations: 7.938 kB / 474.9 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1165, allocations: 4 kB / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1165, allocations: 0 / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.1169, allocations: 207.3 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.502e-05/0.1169, allocations: 85.02 kB / 475.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.117, allocations: 11.92 kB / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.1171, allocations: 16 kB / 475.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.1171, allocations: 3.984 kB / 475.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1171, allocations: 4 kB / 475.2 MB, free: 7.902 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1173, allocations: 103 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1173, allocations: 4 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1176, allocations: 27.98 kB / 475.3 MB, free: 7.773 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 (7): * Single equations (assignments): 7 * 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.001082/0.1187, allocations: 436.2 kB / 475.8 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003146/0.119, allocations: 83.86 kB / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.119, allocations: 0 / 475.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1191, allocations: 43.97 kB / 475.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.1195, allocations: 19.97 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.12, allocations: 202.1 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.1205, allocations: 0.7001 MB / 476.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.046e-05/0.1206, allocations: 11.94 kB / 476.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.1206, allocations: 19.44 kB / 476.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1206, allocations: 0 / 476.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of Templates: time 0.004113/0.1248, allocations: 1.459 MB / 478.3 MB, free: 4.934 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches