Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.00178/0.00178, allocations: 194 kB / 18.12 MB, free: 5.363 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.382/1.382, allocations: 222.9 MB / 241.8 MB, free: 13.85 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.2262/0.2262, allocations: 44.17 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.03 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003492/0.1376, allocations: 1.702 MB / 470.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008845/0.1385, allocations: 431.1 kB / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.1386, allocations: 0 / 470.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.1389, allocations: 55.84 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001673/0.1391, allocations: 51.84 kB / 470.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1394, allocations: 115.8 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1395, allocations: 71.77 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1397, allocations: 23.97 kB / 470.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.57e-05/0.1397, allocations: 27.86 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.548e-05/0.1398, allocations: 47.81 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.1398, allocations: 4 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.827e-05/0.14, allocations: 43.98 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/0.14, allocations: 23.92 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.1401, allocations: 19.81 kB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.1403, allocations: 107.6 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1403, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.1403, allocations: 0 / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1403, allocations: 0 / 471.2 MB, free: 12.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005448/0.1408, allocations: 407.4 kB / 471.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1409, allocations: 8.031 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.1409, allocations: 12.75 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.1412, allocations: 192.8 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1412, allocations: 8.375 kB / 471.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1412, allocations: 11.84 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1414, allocations: 61.61 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1414, allocations: 4 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1414, allocations: 0 / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1414, allocations: 4 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1416, allocations: 35.97 kB / 471.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.142, allocations: 304.7 kB / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.1423, allocations: 54.56 kB / 472.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.443e-05/0.1424, allocations: 24.97 kB / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1424, allocations: 0 / 472.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1424, allocations: 42.55 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1424, allocations: 0 / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001406/0.1438, allocations: 392.7 kB / 472.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.1439, allocations: 55.41 kB / 472.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1441, allocations: 180 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.1441, allocations: 25.7 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.1442, allocations: 104.1 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.1442, allocations: 39.44 kB / 473.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.1443, allocations: 29.72 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1444, allocations: 322.8 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1445, allocations: 39.97 kB / 473.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.1447, allocations: 43.97 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.1449, allocations: 104.7 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1449, allocations: 0 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003012/0.1452, allocations: 141.4 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1452, allocations: 8 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1453, allocations: 0 / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1453, allocations: 0 / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1454, allocations: 23.98 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1454, allocations: 4 kB / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.1455, allocations: 11.98 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1455, allocations: 7.938 kB / 473.9 MB, free: 9.238 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 (11): * Single equations (assignments): 11 * 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.0001188/0.1456, allocations: 130.3 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.1457, allocations: 15.75 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.146, allocations: 162.9 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.146, allocations: 0 / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.146, allocations: 0 / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1461, allocations: 0 / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.1467, allocations: 472 kB / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1467, allocations: 0 / 474.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.694e-05/0.1468, allocations: 23.98 kB / 474.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.1468, allocations: 0 / 474.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1468, allocations: 8 kB / 474.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1469, allocations: 3.938 kB / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1469, allocations: 0 / 474.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.1472, allocations: 257 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1473, allocations: 85 kB / 475 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1473, allocations: 8 kB / 475 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/0.1474, allocations: 8.078 kB / 475 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.41e-05/0.1475, allocations: 19.86 kB / 475 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1475, allocations: 7.938 kB / 475 MB, free: 7.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1476, allocations: 145.1 kB / 475.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1476, allocations: 0 / 475.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.1479, allocations: 20 kB / 475.2 MB, free: 7.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001044/0.1489, allocations: 458.8 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.1493, allocations: 99.88 kB / 475.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1493, allocations: 0 / 475.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1494, allocations: 68.02 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1498, allocations: 19.41 kB / 475.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005986/0.1504, allocations: 309.6 kB / 476.1 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1508, allocations: 0.7121 MB / 476.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.758e-05/0.1509, allocations: 16.41 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.1509, allocations: 19.44 kB / 476.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1509, allocations: 0 / 476.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of Templates: time 0.00406/0.155, allocations: 1.437 MB / 478.3 MB, free: 4.801 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches