Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 105.2 kB / 16.27 MB, free: 5.93 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.001418/0.001418, allocations: 191.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2264/0.2264, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 68.66 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.127, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003257/0.1303, allocations: 1.605 MB / 442.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1317, allocations: 0.9573 MB / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1319, allocations: 0 / 443.1 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.1322, allocations: 31.84 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.1326, allocations: 39.78 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.133, allocations: 154.7 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1332, allocations: 67.83 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1334, allocations: 23.92 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.1335, allocations: 27.86 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1336, allocations: 31.84 kB / 443.5 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1337, allocations: 4 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1338, allocations: 51.97 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.1339, allocations: 15.92 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.134, allocations: 27.86 kB / 443.6 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.1343, allocations: 95.77 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1343, allocations: 0 / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1343, allocations: 0 / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1343, allocations: 4 kB / 443.6 MB, free: 3.75 MB / 318.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.0006941/0.135, allocations: 395.1 kB / 444 MB, free: 3.316 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.1351, allocations: 15.89 kB / 444 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.1351, allocations: 8.844 kB / 444.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.1354, allocations: 184.3 kB / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.1354, allocations: 384 / 444.2 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.1354, allocations: 8.375 kB / 444.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1357, allocations: 75.52 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1357, allocations: 4 kB / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1357, allocations: 0 / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1357, allocations: 0 / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1359, allocations: 47.89 kB / 444.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.1364, allocations: 304.7 kB / 444.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1365, allocations: 50.5 kB / 444.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.1366, allocations: 24.94 kB / 444.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1366, allocations: 4.062 kB / 444.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1366, allocations: 38.5 kB / 444.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1367, allocations: 8 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007913/0.1375, allocations: 213.6 kB / 445 MB, free: 2.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.1375, allocations: 77.11 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.1376, allocations: 137.7 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1377, allocations: 29.7 kB / 445.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.1377, allocations: 100.1 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1377, allocations: 15.66 kB / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.1378, allocations: 25.7 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.1379, allocations: 318.8 kB / 445.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.138, allocations: 43.95 kB / 445.7 MB, free: 1.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1381, allocations: 53.69 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.1383, allocations: 84.8 kB / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1383, allocations: 0 / 445.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002579/0.1386, allocations: 133.5 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1386, allocations: 8 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1386, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1386, allocations: 0 / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1388, allocations: 19.98 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1388, allocations: 0 / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.1388, allocations: 15.92 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.1389, allocations: 0 / 446 MB, free: 1.113 MB / 318.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 6.743e-05/0.1389, allocations: 129.8 kB / 446.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.139, allocations: 7.906 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.1393, allocations: 138.2 kB / 446.3 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1393, allocations: 4 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1393, allocations: 0 / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1393, allocations: 3.938 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.1398, allocations: 406.5 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1398, allocations: 0 / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.739e-05/0.1399, allocations: 23.92 kB / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1399, allocations: 0 / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1399, allocations: 3.938 kB / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1399, allocations: 0 / 446.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1399, allocations: 4 kB / 446.7 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.1402, allocations: 215.4 kB / 447 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.1402, allocations: 85.02 kB / 447 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1403, allocations: 3.938 kB / 447 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1404, allocations: 11.98 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.1404, allocations: 11.92 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1405, allocations: 12 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.1406, allocations: 110.6 kB / 447.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1406, allocations: 7.875 kB / 447.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.1409, allocations: 24 kB / 447.2 MB, free: 15.83 MB / 334.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.001098/0.142, allocations: 438.2 kB / 447.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.1423, allocations: 95.92 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1424, allocations: 0 / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.1425, allocations: 59.88 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.1429, allocations: 12 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.1435, allocations: 198.5 kB / 448 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1438, allocations: 0.7054 MB / 448.7 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.788e-05/0.144, allocations: 28.28 kB / 448.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.144, allocations: 15.42 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.144, allocations: 4 kB / 448.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of Templates: time 0.004923/0.1489, allocations: 1.524 MB / 450.3 MB, free: 12.8 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches