Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001174/0.001174, allocations: 194 kB / 18.77 MB, free: 4.742 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.366/1.366, allocations: 222.9 MB / 242.4 MB, free: 15.49 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.212/0.212, allocations: 44.18 MB / 336.8 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.33 kB / 408.4 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1336, allocations: 60.83 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003322/0.137, allocations: 1.637 MB / 470.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007854/0.1378, allocations: 423.3 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.1379, allocations: 0 / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1382, allocations: 67.83 kB / 471.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.1384, allocations: 55.88 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1387, allocations: 106.1 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1388, allocations: 67.83 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.139, allocations: 16.17 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.139, allocations: 35.84 kB / 471.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1391, allocations: 51.88 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1392, allocations: 4 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1393, allocations: 39.98 kB / 471.7 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.1393, allocations: 19.88 kB / 471.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.1394, allocations: 35.72 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1395, allocations: 68.19 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1395, allocations: 0 / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1395, allocations: 4 kB / 471.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.1395, allocations: 0 / 471.8 MB, free: 12.23 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.0004491/0.14, allocations: 409.9 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.14, allocations: 12.03 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1401, allocations: 8.844 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.1403, allocations: 200.1 kB / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1403, allocations: 384 / 472.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1403, allocations: 8.375 kB / 472.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1405, allocations: 57.55 kB / 472.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1405, allocations: 3.906 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1405, allocations: 4 kB / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1405, allocations: 0 / 472.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.68e-05/0.1406, allocations: 27.98 kB / 472.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.141, allocations: 296.8 kB / 472.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1412, allocations: 46.5 kB / 472.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.1412, allocations: 16.94 kB / 472.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1412, allocations: 4 kB / 472.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1413, allocations: 38.56 kB / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1413, allocations: 0 / 472.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008959/0.1422, allocations: 237.5 kB / 473.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.1422, allocations: 59.41 kB / 473.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1424, allocations: 210.1 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.1424, allocations: 25.7 kB / 473.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.1425, allocations: 108 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.1425, allocations: 23.66 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.1426, allocations: 25.64 kB / 473.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1427, allocations: 326.8 kB / 473.9 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/0.1428, allocations: 35.92 kB / 473.9 MB, free: 9.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.1429, allocations: 31.97 kB / 474 MB, free: 9.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.143, allocations: 68.83 kB / 474 MB, free: 9.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1431, allocations: 0 / 474 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002171/0.1433, allocations: 117.5 kB / 474.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1433, allocations: 4 kB / 474.1 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1433, allocations: 4 kB / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1433, allocations: 0 / 474.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.487e-05/0.1434, allocations: 23.92 kB / 474.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1434, allocations: 3.938 kB / 474.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.1435, allocations: 7.984 kB / 474.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1435, allocations: 0 / 474.2 MB, free: 9.609 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 (8): * Single equations (assignments): 8 * 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 9.513e-05/0.1436, allocations: 130.4 kB / 474.3 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.1436, allocations: 7.906 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.1439, allocations: 130.7 kB / 474.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1439, allocations: 0 / 474.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.1439, allocations: 7.938 kB / 474.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1439, allocations: 0 / 474.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.1445, allocations: 427.1 kB / 474.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1445, allocations: 0 / 474.9 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.365e-05/0.1446, allocations: 27.92 kB / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1446, allocations: 0 / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1446, allocations: 0 / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1446, allocations: 0 / 474.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1446, allocations: 4 kB / 474.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1449, allocations: 208.3 kB / 475.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.1449, allocations: 88.94 kB / 475.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.145, allocations: 7.938 kB / 475.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.145, allocations: 0 / 475.2 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.1451, allocations: 11.98 kB / 475.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1451, allocations: 4 kB / 475.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1452, allocations: 155.2 kB / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.986e-06/0.1453, allocations: 0 / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1455, allocations: 23.94 kB / 475.4 MB, free: 8.289 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0009893/0.1465, allocations: 455 kB / 475.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1467, allocations: 79.89 kB / 475.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1467, allocations: 0 / 475.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.613e-05/0.1468, allocations: 35.97 kB / 475.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1472, allocations: 29.75 kB / 476 MB, free: 7.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.1477, allocations: 314.5 kB / 476.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.148, allocations: 0.7083 MB / 477 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.148, allocations: 15.44 kB / 477 MB, free: 6.785 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.148, allocations: 0 / 477 MB, free: 6.785 MB / 350.1 MB Notification: Performance of Templates: time 0.003429/0.1514, allocations: 1.742 MB / 478.8 MB, free: 5.047 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches