Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 102.2 kB / 16.94 MB, free: 6.168 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.001165/0.001166, allocations: 191.3 kB / 17.86 MB, free: 5.293 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.411/1.411, allocations: 205.1 MB / 223.7 MB, free: 12.28 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.2253/0.2253, allocations: 43.52 MB / 314.6 MB, free: 0.5273 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.001724/0.001724, allocations: 65.17 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1216, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.002752/0.1244, allocations: 1.565 MB / 442.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005176/0.1249, allocations: 339.5 kB / 443.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.779e-05/0.125, allocations: 0 / 443.1 MB, free: 5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1253, allocations: 95.67 kB / 443.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.1254, allocations: 63.8 kB / 443.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.1257, allocations: 95.75 kB / 443.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1258, allocations: 79.86 kB / 443.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1259, allocations: 16.12 kB / 443.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.126, allocations: 47.83 kB / 443.5 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.1261, allocations: 51.83 kB / 443.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1261, allocations: 4 kB / 443.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.1262, allocations: 43.91 kB / 443.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.1262, allocations: 23.92 kB / 443.6 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.1263, allocations: 31.75 kB / 443.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.1264, allocations: 107.6 kB / 443.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1264, allocations: 0 / 443.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1264, allocations: 0 / 443.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1264, allocations: 0 / 443.7 MB, free: 4.352 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003885/0.1268, allocations: 414.9 kB / 444.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1269, allocations: 11.89 kB / 444.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.1269, allocations: 20.75 kB / 444.2 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.1271, allocations: 204 kB / 444.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.1271, allocations: 384 / 444.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.1271, allocations: 8.375 kB / 444.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1273, allocations: 75.33 kB / 444.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1273, allocations: 3.906 kB / 444.5 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1273, allocations: 4 kB / 444.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1273, allocations: 3.938 kB / 444.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.976e-05/0.1274, allocations: 39.91 kB / 444.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1278, allocations: 397 kB / 444.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002435/0.1281, allocations: 93.14 kB / 445 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.1281, allocations: 29.8 kB / 445 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.1282, allocations: 0 / 445 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.346e-05/0.1282, allocations: 34.56 kB / 445 MB, free: 2.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1282, allocations: 0 / 445 MB, free: 2.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006384/0.1288, allocations: 244.6 kB / 445.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.1289, allocations: 81.11 kB / 445.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.129, allocations: 235.5 kB / 445.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.129, allocations: 29.64 kB / 445.6 MB, free: 2.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.1291, allocations: 104.1 kB / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1291, allocations: 35.48 kB / 445.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.1292, allocations: 21.72 kB / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.144e-05/0.1292, allocations: 330.8 kB / 446.1 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.1293, allocations: 31.97 kB / 446.1 MB, free: 1.707 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.1294, allocations: 45.7 kB / 446.2 MB, free: 1.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1295, allocations: 85.8 kB / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1295, allocations: 0 / 446.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.1297, allocations: 137.4 kB / 446.4 MB, free: 1.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1298, allocations: 4 kB / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1298, allocations: 0 / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1298, allocations: 0 / 446.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.1299, allocations: 19.98 kB / 446.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1299, allocations: 11.88 kB / 446.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.1299, allocations: 4 kB / 446.4 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.13, allocations: 0 / 446.4 MB, free: 1.387 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.879e-05/0.13, allocations: 141.8 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.1301, allocations: 11.81 kB / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.1304, allocations: 162.5 kB / 446.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1304, allocations: 0 / 446.7 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1304, allocations: 4.188 kB / 446.8 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1304, allocations: 4 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004837/0.1309, allocations: 0.4986 MB / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1309, allocations: 0 / 447.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.131, allocations: 28.05 kB / 447.3 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.131, allocations: 4 kB / 447.3 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.131, allocations: 7.938 kB / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.131, allocations: 0 / 447.3 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.131, allocations: 8.031 kB / 447.3 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1313, allocations: 295.4 kB / 447.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.1313, allocations: 88.95 kB / 447.7 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.1313, allocations: 8 kB / 447.7 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1314, allocations: 8.609 kB / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.1315, allocations: 7.984 kB / 447.7 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1315, allocations: 4 kB / 447.7 MB, free: 12 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1317, allocations: 179.2 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1317, allocations: 0 / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.132, allocations: 20 kB / 447.9 MB, free: 15.82 MB / 334.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 (10): * Single equations (assignments): 10 * 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.0009613/0.1329, allocations: 410.5 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.1332, allocations: 83.89 kB / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1332, allocations: 0 / 448.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1333, allocations: 51.91 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1338, allocations: 23.86 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.1343, allocations: 330 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1346, allocations: 0.7158 MB / 449.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.1347, allocations: 19.44 kB / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1347, allocations: 0 / 449.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Templates: time 0.00366/0.1384, allocations: 1.796 MB / 451.3 MB, free: 12.42 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches