Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.001049/0.001049, allocations: 188 kB / 19.34 MB, free: 3.641 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.37/1.37, allocations: 222.9 MB / 243 MB, free: 15.16 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.2177/0.2177, allocations: 44.19 MB / 337.4 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.11 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.132, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002743/0.1348, allocations: 1.564 MB / 472.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006776/0.1355, allocations: 399.2 kB / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.1355, allocations: 0 / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1357, allocations: 15.86 kB / 472.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.1359, allocations: 43.78 kB / 472.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1362, allocations: 87.69 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1363, allocations: 51.91 kB / 472.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.1364, allocations: 15.98 kB / 472.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.1364, allocations: 19.88 kB / 472.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.1365, allocations: 19.91 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1365, allocations: 4 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.1366, allocations: 31.92 kB / 472.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.1367, allocations: 11.94 kB / 473 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.1367, allocations: 15.88 kB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1368, allocations: 75.78 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1368, allocations: 0 / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1369, allocations: 4 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1369, allocations: 0 / 473 MB, free: 11.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004429/0.1373, allocations: 375.2 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1374, allocations: 8.031 kB / 473.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.1374, allocations: 8.844 kB / 473.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.1376, allocations: 195 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1376, allocations: 4.375 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.1376, allocations: 4.375 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1378, allocations: 53.81 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1378, allocations: 3.906 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.1378, allocations: 4 kB / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1378, allocations: 0 / 473.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.1379, allocations: 23.97 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.1382, allocations: 276.8 kB / 474 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.1384, allocations: 46.56 kB / 474 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.1385, allocations: 16.94 kB / 474 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1385, allocations: 0 / 474 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1385, allocations: 34.56 kB / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1385, allocations: 0 / 474.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000479/0.139, allocations: 133.3 kB / 474.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1391, allocations: 55.41 kB / 474.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1392, allocations: 146 kB / 474.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1392, allocations: 25.7 kB / 474.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.1393, allocations: 92.12 kB / 474.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1393, allocations: 19.8 kB / 474.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1393, allocations: 17.7 kB / 474.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1395, allocations: 318.8 kB / 474.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.1395, allocations: 27.92 kB / 474.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.469e-05/0.1396, allocations: 23.92 kB / 474.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1397, allocations: 44.83 kB / 475 MB, free: 9.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1397, allocations: 3.938 kB / 475 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001573/0.1399, allocations: 77.58 kB / 475 MB, free: 9.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1399, allocations: 4 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.1399, allocations: 8 kB / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1399, allocations: 0 / 475.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.14, allocations: 11.98 kB / 475.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.14, allocations: 3.938 kB / 475.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.14, allocations: 4.25 kB / 475.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1401, allocations: 3.984 kB / 475.1 MB, free: 9.062 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 (5): * Single equations (assignments): 5 * 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 7.729e-05/0.1401, allocations: 125.7 kB / 475.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1402, allocations: 7.906 kB / 475.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.1404, allocations: 93.97 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1404, allocations: 0 / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1404, allocations: 0 / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1404, allocations: 0 / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003688/0.1408, allocations: 342.5 kB / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1408, allocations: 0 / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.1409, allocations: 15.98 kB / 475.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1409, allocations: 4 kB / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.1409, allocations: 0 / 475.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1409, allocations: 3.938 kB / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1409, allocations: 0 / 475.7 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002009/0.1411, allocations: 179.4 kB / 475.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.1411, allocations: 81.02 kB / 475.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1412, allocations: 4 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.1412, allocations: 11.94 kB / 475.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.1413, allocations: 7.984 kB / 475.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1413, allocations: 0 / 475.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.485e-05/0.1414, allocations: 108.5 kB / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1414, allocations: 0 / 476 MB, free: 7.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1416, allocations: 19.98 kB / 476.1 MB, free: 7.973 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 (5): * Single equations (assignments): 5 * 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.000912/0.1425, allocations: 407.3 kB / 476.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1427, allocations: 51.95 kB / 476.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1427, allocations: 3.938 kB / 476.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.1428, allocations: 23.98 kB / 476.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1432, allocations: 8 kB / 476.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.1435, allocations: 173.4 kB / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1438, allocations: 0.6924 MB / 477.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.416e-05/0.1438, allocations: 15.97 kB / 477.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.1439, allocations: 11.44 kB / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1439, allocations: 0 / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of Templates: time 0.00371/0.1476, allocations: 1.078 MB / 478.5 MB, free: 5.629 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches