Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 104.2 kB / 17.03 MB, free: 6.129 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.001166/0.001166, allocations: 196.1 kB / 17.96 MB, free: 5.215 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.388/1.388, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.1998/0.1998, allocations: 43.53 MB / 314.7 MB, free: 480 kB / 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.001448/0.001448, allocations: 66.45 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.00342/0.1109, allocations: 1.55 MB / 443.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005705/0.1115, allocations: 311.6 kB / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.624e-05/0.1115, allocations: 0 / 443.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.112, allocations: 455.1 kB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.1124, allocations: 255.4 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.1126, allocations: 111.7 kB / 444.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.1128, allocations: 155.7 kB / 444.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1129, allocations: 11.98 kB / 444.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.113, allocations: 107.7 kB / 444.9 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.1132, allocations: 207.7 kB / 445.1 MB, free: 3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1133, allocations: 4 kB / 445.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.1133, allocations: 19.98 kB / 445.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.1134, allocations: 83.62 kB / 445.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.1135, allocations: 99 kB / 445.3 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1137, allocations: 251 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1137, allocations: 0 / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1137, allocations: 0 / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.1137, allocations: 0 / 445.5 MB, free: 2.551 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005522/0.1143, allocations: 0.6258 MB / 446.2 MB, free: 1.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1143, allocations: 23.88 kB / 446.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.1144, allocations: 40.47 kB / 446.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.1146, allocations: 292.1 kB / 446.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1146, allocations: 4.375 kB / 446.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1147, allocations: 12.3 kB / 446.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1148, allocations: 49.81 kB / 446.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.1148, allocations: 0 / 446.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1148, allocations: 0 / 446.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1148, allocations: 0 / 446.6 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.115, allocations: 39.97 kB / 446.6 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.1153, allocations: 368.7 kB / 447 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1154, allocations: 50.42 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.1155, allocations: 20.94 kB / 447.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.1155, allocations: 0 / 447.1 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.1156, allocations: 38.56 kB / 447.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1156, allocations: 0 / 447.1 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000312/0.1159, allocations: 109.2 kB / 447.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.1159, allocations: 59.34 kB / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.1166, allocations: 0.8534 MB / 448.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.1166, allocations: 25.7 kB / 448.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1168, allocations: 216.1 kB / 448.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.1168, allocations: 15.75 kB / 448.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1169, allocations: 13.72 kB / 448.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.117, allocations: 362.7 kB / 448.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.1171, allocations: 11.98 kB / 448.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.183e-05/0.1171, allocations: 15.98 kB / 448.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.1173, allocations: 40.83 kB / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1173, allocations: 0 / 448.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002583/0.1175, allocations: 105.1 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1176, allocations: 4 kB / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1176, allocations: 0 / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1176, allocations: 0 / 448.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.331e-05/0.1177, allocations: 11.98 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1177, allocations: 0 / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.467e-05/0.1178, allocations: 8 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1178, allocations: 3.984 kB / 448.9 MB, free: 14.94 MB / 334.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 (3): * Single equations (assignments): 3 * 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.0001942/0.118, allocations: 213.7 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.118, allocations: 43.44 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.1183, allocations: 113.3 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1183, allocations: 0 / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1183, allocations: 0 / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.1183, allocations: 8.016 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1186, allocations: 293.5 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1186, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.1187, allocations: 11.98 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1187, allocations: 0 / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1187, allocations: 4 kB / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1187, allocations: 0 / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1187, allocations: 0 / 449.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.1189, allocations: 203 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.119, allocations: 108.5 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.119, allocations: 4 kB / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.1191, allocations: 0 / 449.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1192, allocations: 15.92 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1192, allocations: 3.938 kB / 449.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005642/0.1197, allocations: 0.6394 MB / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1197, allocations: 0 / 450.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.12, allocations: 20 kB / 450.6 MB, free: 13.18 MB / 334.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 (3): * Single equations (assignments): 3 * 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.0008353/0.1209, allocations: 357 kB / 450.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.121, allocations: 39.91 kB / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1211, allocations: 0 / 451 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.013e-05/0.1211, allocations: 19.98 kB / 451 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1215, allocations: 25.95 kB / 451 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1226, allocations: 0.7561 MB / 451.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1231, allocations: 0.8182 MB / 452.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.794e-05/0.1231, allocations: 3.984 kB / 452.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.1231, allocations: 19.42 kB / 452.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1231, allocations: 0 / 452.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of Templates: time 0.00479/0.1279, allocations: 1.315 MB / 453.9 MB, free: 9.863 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches