Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00105/0.00105, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.266/1.266, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2089/0.2089, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.17 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1237, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002992/0.1267, allocations: 1.614 MB / 470.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1283, allocations: 1.055 MB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.98e-05/0.1284, allocations: 4 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1286, allocations: 27.78 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.1288, allocations: 43.77 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.1293, allocations: 178.9 kB / 472.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1294, allocations: 67.78 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1296, allocations: 23.97 kB / 472.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.1296, allocations: 23.92 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1298, allocations: 30.36 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1298, allocations: 4 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1299, allocations: 55.95 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.13, allocations: 23.86 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.13, allocations: 23.88 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1302, allocations: 96.03 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1303, allocations: 3.938 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1303, allocations: 0 / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1303, allocations: 4 kB / 472.5 MB, free: 11.12 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.0004738/0.1308, allocations: 379.2 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1308, allocations: 12.03 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.1308, allocations: 12.84 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.131, allocations: 188.3 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1311, allocations: 4.375 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.1311, allocations: 8.312 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1313, allocations: 79.5 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1313, allocations: 4 kB / 473.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1313, allocations: 3.984 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1313, allocations: 0 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.1315, allocations: 43.95 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.1319, allocations: 304.7 kB / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.132, allocations: 50.56 kB / 473.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.694e-05/0.1321, allocations: 24.94 kB / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.1321, allocations: 0 / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.1322, allocations: 34.56 kB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.1322, allocations: 4 kB / 473.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007275/0.1329, allocations: 221.2 kB / 473.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.133, allocations: 81.09 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1331, allocations: 141.8 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.1331, allocations: 29.7 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.1332, allocations: 96.12 kB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1332, allocations: 19.66 kB / 474.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.1333, allocations: 25.7 kB / 474.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.1334, allocations: 314.8 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1335, allocations: 43.95 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1336, allocations: 57.7 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1338, allocations: 92.88 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1338, allocations: 0 / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002706/0.1341, allocations: 125.6 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1341, allocations: 4 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1341, allocations: 0 / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1342, allocations: 0 / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1343, allocations: 23.92 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1343, allocations: 0 / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.1343, allocations: 19.92 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1344, allocations: 0 / 474.9 MB, free: 8.477 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 8.853e-05/0.1344, allocations: 121.8 kB / 475 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1345, allocations: 11.89 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.1348, allocations: 130 kB / 475.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1348, allocations: 4 kB / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1348, allocations: 0 / 475.2 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.1348, allocations: 7.922 kB / 475.2 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.1353, allocations: 406.4 kB / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1353, allocations: 0 / 475.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.1354, allocations: 19.98 kB / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1354, allocations: 0 / 475.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1355, allocations: 3.938 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1355, allocations: 0 / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1355, allocations: 4 kB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.1358, allocations: 223.3 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.1358, allocations: 85.02 kB / 475.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1359, allocations: 3.938 kB / 475.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-05/0.136, allocations: 15.98 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.136, allocations: 11.92 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.136, allocations: 4 kB / 475.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.459e-05/0.1361, allocations: 106.5 kB / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1361, allocations: 0 / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1364, allocations: 23.98 kB / 476.1 MB, free: 7.215 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.0009719/0.1373, allocations: 451.2 kB / 476.5 MB, free: 6.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.1377, allocations: 95.88 kB / 476.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1377, allocations: 0 / 476.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.1378, allocations: 47.95 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.1381, allocations: 12 kB / 476.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.1386, allocations: 210.3 kB / 476.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1388, allocations: 0.6963 MB / 477.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.01e-05/0.1389, allocations: 28.23 kB / 477.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.139, allocations: 23.36 kB / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.139, allocations: 0 / 477.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of Templates: time 0.004046/0.143, allocations: 1.536 MB / 479.1 MB, free: 4.254 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches