Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 107.7 kB / 17.33 MB, free: 6 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.001043/0.001043, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.328/1.328, allocations: 222.9 MB / 241.9 MB, free: 13.68 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.2066/0.2066, allocations: 44.18 MB / 336.2 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 71.22 kB / 407.9 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1038, allocations: 60.82 MB / 468.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002927/0.1067, allocations: 1.638 MB / 470.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000679/0.1074, allocations: 399.2 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.1075, allocations: 0 / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004957/0.108, allocations: 447.2 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1083, allocations: 243.6 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1087, allocations: 119 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1089, allocations: 143.8 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.109, allocations: 15.97 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1091, allocations: 111.7 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.1093, allocations: 207.7 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1094, allocations: 4 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.1094, allocations: 35.91 kB / 472 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.807e-05/0.1096, allocations: 79.69 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.842e-05/0.1096, allocations: 99 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.1099, allocations: 227.1 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1099, allocations: 0 / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.1099, allocations: 3.984 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1099, allocations: 0 / 472.4 MB, free: 10.94 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007009/0.1106, allocations: 0.6221 MB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1107, allocations: 12.03 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.1107, allocations: 48.38 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.111, allocations: 284.3 kB / 473.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.111, allocations: 4.375 kB / 473.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.111, allocations: 4.375 kB / 473.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1112, allocations: 45.81 kB / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.1112, allocations: 0 / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1112, allocations: 0 / 473.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1112, allocations: 4 kB / 473.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.15e-05/0.1113, allocations: 19.98 kB / 473.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.1118, allocations: 380.6 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.1118, allocations: 30.56 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.1119, allocations: 12.92 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.1119, allocations: 4 kB / 473.9 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.112, allocations: 34.56 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.112, allocations: 0 / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002555/0.1122, allocations: 97.14 kB / 474 MB, free: 9.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.1123, allocations: 51.41 kB / 474.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000777/0.113, allocations: 0.8613 MB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1131, allocations: 25.7 kB / 475 MB, free: 8.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1132, allocations: 216.1 kB / 475.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1133, allocations: 12.03 kB / 475.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.1133, allocations: 13.72 kB / 475.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1134, allocations: 362.7 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.1135, allocations: 8 kB / 475.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/0.1135, allocations: 11.98 kB / 475.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.1136, allocations: 20.8 kB / 475.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1136, allocations: 64 / 475.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001459/0.1138, allocations: 97.11 kB / 475.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1138, allocations: 8 kB / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1138, allocations: 0 / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.1138, allocations: 0 / 475.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.937e-05/0.1139, allocations: 4 kB / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1139, allocations: 0 / 475.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1139, allocations: 4 kB / 475.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.114, allocations: 3.938 kB / 475.7 MB, free: 7.445 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 (2): * Single equations (assignments): 2 * 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.0001759/0.1141, allocations: 221.7 kB / 475.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.1142, allocations: 39.44 kB / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.1144, allocations: 112.5 kB / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1144, allocations: 0 / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1144, allocations: 0 / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1144, allocations: 0 / 476.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.1147, allocations: 289.5 kB / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1147, allocations: 0 / 476.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.1148, allocations: 8.031 kB / 476.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1148, allocations: 0 / 476.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1148, allocations: 0 / 476.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/0.1148, allocations: 3.984 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1148, allocations: 4 kB / 476.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.115, allocations: 190.9 kB / 476.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.1151, allocations: 108.5 kB / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.1151, allocations: 4.031 kB / 476.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.1152, allocations: 7.984 kB / 476.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.1152, allocations: 0 / 476.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1152, allocations: 0 / 476.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005865/0.1158, allocations: 0.6472 MB / 477.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1158, allocations: 0 / 477.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1161, allocations: 15.94 kB / 477.3 MB, free: 5.711 MB / 350.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 (2): * Single equations (assignments): 2 * 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.0008109/0.1169, allocations: 361.3 kB / 477.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.117, allocations: 15.98 kB / 477.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.117, allocations: 0 / 477.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.1171, allocations: 15.94 kB / 477.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1175, allocations: 30.06 kB / 477.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1185, allocations: 0.8335 MB / 478.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.1189, allocations: 0.8143 MB / 479.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.119, allocations: 7.984 kB / 479.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.119, allocations: 11.44 kB / 479.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.119, allocations: 0 / 479.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of Templates: time 0.004359/0.1234, allocations: 1.239 MB / 480.7 MB, free: 2.473 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches