Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 109.3 kB / 18.39 MB, free: 4.629 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.001138/0.001138, allocations: 184.1 kB / 19.33 MB, free: 3.699 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.392/1.392, allocations: 222.9 MB / 243 MB, free: 15.09 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.2132/0.2132, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 72.23 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1087, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003018/0.1117, allocations: 1.614 MB / 472.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.1126, allocations: 463 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.1127, allocations: 0 / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.1132, allocations: 451.2 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1136, allocations: 251.4 kB / 473.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.1141, allocations: 185.9 kB / 473.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1143, allocations: 163.7 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1144, allocations: 16 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1146, allocations: 115.8 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.1148, allocations: 211.6 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1148, allocations: 0 / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.982e-05/0.1149, allocations: 31.98 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.115, allocations: 79.69 kB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.833e-05/0.1151, allocations: 107 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1154, allocations: 263 kB / 474.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1155, allocations: 0 / 474.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1155, allocations: 3.938 kB / 474.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1155, allocations: 0 / 474.6 MB, free: 9.719 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.0007602/0.1162, allocations: 0.6375 MB / 475.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1163, allocations: 8.031 kB / 475.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.1164, allocations: 44.38 kB / 475.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1166, allocations: 296.1 kB / 475.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.1167, allocations: 8.375 kB / 475.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1167, allocations: 384 / 475.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.1169, allocations: 61.8 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1169, allocations: 0 / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1169, allocations: 4 kB / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1169, allocations: 7.938 kB / 475.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.1171, allocations: 39.95 kB / 475.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.1176, allocations: 400.6 kB / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1178, allocations: 50.55 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.1178, allocations: 28.88 kB / 476.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1179, allocations: 4.062 kB / 476.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1179, allocations: 34.56 kB / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1179, allocations: 0 / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007979/0.1187, allocations: 307.8 kB / 476.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.1187, allocations: 51.41 kB / 476.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/0.1195, allocations: 0.8613 MB / 477.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1196, allocations: 25.7 kB / 477.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.1197, allocations: 216.1 kB / 477.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.1198, allocations: 23.66 kB / 477.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.1198, allocations: 21.7 kB / 477.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.12, allocations: 358.7 kB / 478 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.1201, allocations: 35.97 kB / 478.1 MB, free: 6.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.1202, allocations: 43.97 kB / 478.1 MB, free: 5.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.1205, allocations: 84.78 kB / 478.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1205, allocations: 0 / 478.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003271/0.1208, allocations: 165 kB / 478.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1208, allocations: 8 kB / 478.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1208, allocations: 0 / 478.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1209, allocations: 0 / 478.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.121, allocations: 23.92 kB / 478.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.121, allocations: 3.984 kB / 478.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.1211, allocations: 7.938 kB / 478.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1211, allocations: 4 kB / 478.4 MB, free: 5.668 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 0.0001955/0.1213, allocations: 213.8 kB / 478.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.1214, allocations: 47.44 kB / 478.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.1218, allocations: 181.7 kB / 478.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1218, allocations: 0 / 478.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1218, allocations: 4 kB / 478.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1218, allocations: 7.922 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.1225, allocations: 0.4985 MB / 479.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1225, allocations: 3.938 kB / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.309e-05/0.1226, allocations: 19.98 kB / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1226, allocations: 0 / 479.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1226, allocations: 3.938 kB / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1226, allocations: 0 / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1226, allocations: 0 / 479.4 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.123, allocations: 254.9 kB / 479.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.1231, allocations: 104.6 kB / 479.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.1231, allocations: 7.938 kB / 479.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.1233, allocations: 11.98 kB / 479.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.1233, allocations: 11.98 kB / 479.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.1233, allocations: 0 / 479.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006023/0.1239, allocations: 0.655 MB / 480.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.124, allocations: 0 / 480.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1242, allocations: 24 kB / 480.4 MB, free: 3.527 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.0009083/0.1252, allocations: 404.8 kB / 480.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.1255, allocations: 87.92 kB / 480.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1255, allocations: 4 kB / 480.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.1256, allocations: 47.91 kB / 481 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.126, allocations: 29.47 kB / 481 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.1271, allocations: 0.8073 MB / 481.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004579/0.1276, allocations: 0.826 MB / 482.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.365e-05/0.1277, allocations: 28.23 kB / 482.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.1278, allocations: 15.44 kB / 482.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1278, allocations: 0 / 482.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Templates: time 0.005032/0.1328, allocations: 1.598 MB / 484.3 MB, free: 15.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches