Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 113.4 kB / 17.86 MB, free: 5.629 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.001176/0.001176, allocations: 201.9 kB / 18.77 MB, free: 4.715 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.403/1.403, allocations: 222.9 MB / 242.4 MB, free: 15.45 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.2234/0.2234, allocations: 44.17 MB / 336.8 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 65.84 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1148, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003555/0.1184, allocations: 1.625 MB / 470.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008691/0.1193, allocations: 423.2 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.1194, allocations: 0 / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1198, allocations: 111.8 kB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.12, allocations: 63.86 kB / 471.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.1204, allocations: 99.81 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1206, allocations: 75.81 kB / 471.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1207, allocations: 16.17 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.854e-05/0.1208, allocations: 35.84 kB / 471.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.1209, allocations: 59.81 kB / 471.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1209, allocations: 7.938 kB / 471.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.121, allocations: 39.98 kB / 471.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.1211, allocations: 31.91 kB / 471.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.1212, allocations: 31.73 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1213, allocations: 80.17 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1214, allocations: 0 / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1214, allocations: 0 / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1214, allocations: 3.938 kB / 471.9 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005447/0.1219, allocations: 422.9 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.122, allocations: 8.031 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.122, allocations: 12.75 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.1223, allocations: 216.5 kB / 472.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1223, allocations: 4.375 kB / 472.5 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.1224, allocations: 4.375 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1226, allocations: 57.56 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1226, allocations: 3.984 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1226, allocations: 4 kB / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1226, allocations: 0 / 472.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.1228, allocations: 27.97 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.1234, allocations: 308.7 kB / 472.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1235, allocations: 46.56 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.1236, allocations: 20.94 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1236, allocations: 0 / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1236, allocations: 34.56 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.1236, allocations: 0 / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009724/0.1246, allocations: 240.9 kB / 473.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.1247, allocations: 51.41 kB / 473.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.1249, allocations: 246.6 kB / 473.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1249, allocations: 29.64 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.125, allocations: 108.1 kB / 473.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.125, allocations: 35.61 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.1251, allocations: 17.72 kB / 473.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1252, allocations: 322.8 kB / 474 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.404e-05/0.1253, allocations: 35.97 kB / 474.1 MB, free: 9.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-05/0.1254, allocations: 35.98 kB / 474.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1256, allocations: 72.81 kB / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1256, allocations: 0 / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002263/0.1258, allocations: 109.5 kB / 474.3 MB, free: 9.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1258, allocations: 6.344 kB / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1258, allocations: 320 / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1258, allocations: 0 / 474.3 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.126, allocations: 27.98 kB / 474.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.126, allocations: 3.938 kB / 474.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.126, allocations: 4 kB / 474.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.126, allocations: 3.984 kB / 474.3 MB, free: 9.426 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 0.0001073/0.1261, allocations: 133.8 kB / 474.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.1262, allocations: 11.81 kB / 474.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.1265, allocations: 135 kB / 474.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1265, allocations: 8 kB / 474.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1265, allocations: 3.938 kB / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1265, allocations: 432 / 474.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.1271, allocations: 419.2 kB / 475 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1271, allocations: 0 / 475 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.1271, allocations: 23.92 kB / 475 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1272, allocations: 4.031 kB / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1272, allocations: 0 / 475.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1272, allocations: 7.938 kB / 475.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.1272, allocations: 3.984 kB / 475.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1275, allocations: 212.2 kB / 475.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.1275, allocations: 96.84 kB / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.1276, allocations: 4 kB / 475.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.1277, allocations: 8 kB / 475.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1277, allocations: 7.984 kB / 475.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1277, allocations: 7.938 kB / 475.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1279, allocations: 188.3 kB / 475.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1279, allocations: 0 / 475.6 MB, free: 8.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1281, allocations: 16 kB / 475.6 MB, free: 8.055 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.00108/0.1292, allocations: 457.7 kB / 476 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1295, allocations: 75.89 kB / 476.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1295, allocations: 4 kB / 476.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.967e-05/0.1296, allocations: 43.91 kB / 476.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.13, allocations: 19.91 kB / 476.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.1306, allocations: 358.6 kB / 476.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.1309, allocations: 0.716 MB / 477.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.1309, allocations: 11.44 kB / 477.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1309, allocations: 0 / 477.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of Templates: time 0.003885/0.1348, allocations: 1.82 MB / 479.1 MB, free: 4.688 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches