Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 107.5 kB / 17.03 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.001496/0.001496, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.557/1.557, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2189/0.2189, allocations: 43.53 MB / 314.7 MB, free: 472 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.001325/0.001325, allocations: 68.67 kB / 384.2 MB, free: 56.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 57.78 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002512/0.1221, allocations: 1.662 MB / 443.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005559/0.1227, allocations: 379.4 kB / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.1228, allocations: 0 / 444 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.1229, allocations: 23.86 kB / 444 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.123, allocations: 47.72 kB / 444.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1233, allocations: 158.6 kB / 444.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.457e-05/0.1234, allocations: 87.7 kB / 444.3 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1235, allocations: 28.16 kB / 444.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.105e-05/0.1236, allocations: 35.84 kB / 444.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.1237, allocations: 31.84 kB / 444.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1237, allocations: 8 kB / 444.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-05/0.1238, allocations: 51.97 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.1239, allocations: 27.86 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.1239, allocations: 31.8 kB / 444.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1241, allocations: 119.7 kB / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1241, allocations: 0 / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1241, allocations: 0 / 444.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1241, allocations: 0 / 444.6 MB, free: 3.461 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005037/0.1246, allocations: 415 kB / 445 MB, free: 3.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1246, allocations: 12.03 kB / 445 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.1247, allocations: 8.844 kB / 445.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.1249, allocations: 201.4 kB / 445.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1249, allocations: 4.375 kB / 445.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.1249, allocations: 8.375 kB / 445.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.1252, allocations: 95.48 kB / 445.4 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1252, allocations: 4 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1252, allocations: 0 / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1252, allocations: 0 / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.1255, allocations: 83.91 kB / 445.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.1259, allocations: 328.6 kB / 445.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.1261, allocations: 78.52 kB / 445.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1263, allocations: 44.95 kB / 445.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1263, allocations: 11.98 kB / 445.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.1263, allocations: 30.56 kB / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.654e-06/0.1263, allocations: 0 / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001332/0.1276, allocations: 388.9 kB / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.1277, allocations: 81.05 kB / 446.4 MB, free: 1.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/0.1278, allocations: 146.4 kB / 446.5 MB, free: 1.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1278, allocations: 29.7 kB / 446.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.1278, allocations: 96.05 kB / 446.6 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1279, allocations: 27.64 kB / 446.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.1279, allocations: 25.72 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.128, allocations: 326.8 kB / 447 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.1282, allocations: 67.92 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.1284, allocations: 93.62 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.1289, allocations: 160.7 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1289, allocations: 0 / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000499/0.1294, allocations: 189.4 kB / 447.5 MB, free: 332 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1294, allocations: 8 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-06/0.1294, allocations: 4 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1294, allocations: 0 / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.1296, allocations: 39.89 kB / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.1296, allocations: 0 / 447.6 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1298, allocations: 27.91 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1298, allocations: 4 kB / 447.6 MB, free: 248 kB / 318.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 6.389e-05/0.1299, allocations: 125.8 kB / 447.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.1299, allocations: 15.8 kB / 447.7 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/0.1305, allocations: 210.9 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1305, allocations: 0 / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1306, allocations: 8 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1306, allocations: 7.922 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/0.1314, allocations: 486.3 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1314, allocations: 4 kB / 448.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.1316, allocations: 35.89 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1316, allocations: 4 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1317, allocations: 7.938 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1317, allocations: 0 / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1317, allocations: 0 / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.1323, allocations: 291.3 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.1323, allocations: 85.02 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.1324, allocations: 3.938 kB / 448.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.1325, allocations: 27.97 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1326, allocations: 11.98 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.1326, allocations: 0 / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.434e-05/0.1327, allocations: 119.1 kB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1327, allocations: 0 / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.133, allocations: 35.98 kB / 449 MB, free: 14.68 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 (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.0009174/0.1339, allocations: 453.1 kB / 449.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.1345, allocations: 167.8 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1345, allocations: 0 / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002895/0.1348, allocations: 87.84 kB / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1351, allocations: 16.3 kB / 449.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.1356, allocations: 222 kB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1359, allocations: 0.7002 MB / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.007e-05/0.136, allocations: 20.41 kB / 450.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.136, allocations: 19.44 kB / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.136, allocations: 0 / 450.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Templates: time 0.00459/0.1406, allocations: 2.058 MB / 452.8 MB, free: 11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches