Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008791/0.0008791, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 176.5 kB / 16.57 MB, free: 6.391 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.356/1.356, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3295/0.3295, allocations: 43.54 MB / 314.5 MB, free: 9 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.0005212/0.0005212, allocations: 12 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 58.85 MB / 442.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001744/0.1108, allocations: 1.314 MB / 444.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1119, allocations: 0.8791 MB / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.112, allocations: 0 / 444.9 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.1122, allocations: 15.92 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.1123, allocations: 35.84 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1127, allocations: 151.6 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1128, allocations: 39.89 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.1129, allocations: 19.97 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.113, allocations: 19.92 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1131, allocations: 27.84 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1131, allocations: 0 / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.056e-05/0.1132, allocations: 31.92 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1132, allocations: 15.98 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.1133, allocations: 33.64 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1134, allocations: 80.09 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1134, allocations: 0 / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1134, allocations: 3.938 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1135, allocations: 4 kB / 445.4 MB, free: 10.62 MB / 382.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.0004309/0.1139, allocations: 387 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1139, allocations: 12.02 kB / 445.8 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.114, allocations: 19.73 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.1142, allocations: 183 kB / 446 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1142, allocations: 4 kB / 446 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1142, allocations: 4 kB / 446 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1144, allocations: 83.38 kB / 446.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1144, allocations: 0 / 446.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1144, allocations: 0 / 446.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1145, allocations: 0 / 446.1 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1146, allocations: 59.86 kB / 446.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.115, allocations: 308.8 kB / 446.4 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.1151, allocations: 54.55 kB / 446.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.1152, allocations: 4 kB / 446.5 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1152, allocations: 30.56 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1152, allocations: 0 / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007836/0.116, allocations: 261.2 kB / 446.8 MB, free: 9.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.116, allocations: 81.05 kB / 446.9 MB, free: 8.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1162, allocations: 142 kB / 447 MB, free: 8.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.1162, allocations: 29.69 kB / 447 MB, free: 8.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.1163, allocations: 96.08 kB / 447.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.574e-05/0.1163, allocations: 23.61 kB / 447.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.1163, allocations: 4 kB / 447.2 MB, free: 8.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.1164, allocations: 318.8 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.1165, allocations: 47.95 kB / 447.5 MB, free: 8.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1167, allocations: 69.81 kB / 447.6 MB, free: 8.219 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1168, allocations: 47.97 kB / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1168, allocations: 0 / 447.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002789/0.1171, allocations: 137.7 kB / 447.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1171, allocations: 7.953 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1171, allocations: 0 / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.1171, allocations: 0 / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1173, allocations: 31.92 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1173, allocations: 0 / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.821e-05/0.1173, allocations: 23.89 kB / 447.8 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1174, allocations: 0 / 447.8 MB, free: 7.969 MB / 382.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.1174, allocations: 121.8 kB / 447.9 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1175, allocations: 11.84 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.1178, allocations: 158.2 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1178, allocations: 4 kB / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1178, allocations: 7.938 kB / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1178, allocations: 0 / 448.1 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.1183, allocations: 422.5 kB / 448.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1184, allocations: 0 / 448.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-05/0.1185, allocations: 27.94 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1185, allocations: 0 / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.1185, allocations: 4 kB / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1185, allocations: 0 / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1185, allocations: 3.938 kB / 448.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.1188, allocations: 239.4 kB / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.1189, allocations: 93 kB / 448.9 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1189, allocations: 3.953 kB / 448.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.119, allocations: 15.98 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.119, allocations: 7.984 kB / 448.9 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.119, allocations: 4 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.845e-05/0.1191, allocations: 106.7 kB / 449 MB, free: 6.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1191, allocations: 0 / 449 MB, free: 6.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.1194, allocations: 31.98 kB / 449.1 MB, free: 6.633 MB / 382.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008905/0.1203, allocations: 438.4 kB / 449.5 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.1206, allocations: 107.9 kB / 449.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1206, allocations: 0 / 449.6 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1207, allocations: 59.95 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1209, allocations: 12 kB / 449.7 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.1213, allocations: 209 kB / 449.9 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.1215, allocations: 0.7051 MB / 450.6 MB, free: 5.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.454e-05/0.1216, allocations: 24.64 kB / 450.6 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1217, allocations: 19.44 kB / 450.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1217, allocations: 0 / 450.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of Templates: time 0.00338/0.1251, allocations: 1.466 MB / 452.1 MB, free: 3.586 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches