Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 108.1 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.001375/0.001375, 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.394/1.394, 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.2063/0.2063, allocations: 43.52 MB / 314.7 MB, free: 484 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.001356/0.001357, allocations: 67.09 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09355/0.09492, allocations: 57.78 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002522/0.09746, allocations: 1.596 MB / 443.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000528/0.09801, allocations: 351.5 kB / 443.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.09806, allocations: 0 / 443.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.09841, allocations: 451.1 kB / 444.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.09864, allocations: 255.4 kB / 444.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.09892, allocations: 151.5 kB / 444.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.09906, allocations: 171.6 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.09912, allocations: 24.11 kB / 444.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.264e-05/0.09919, allocations: 111.7 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.09932, allocations: 199.7 kB / 445.2 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.09934, allocations: 4 kB / 445.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.0994, allocations: 39.92 kB / 445.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.09947, allocations: 83.69 kB / 445.4 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.09953, allocations: 103 kB / 445.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.0997, allocations: 255 kB / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.09971, allocations: 0 / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09972, allocations: 0 / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.09973, allocations: 0 / 445.7 MB, free: 2.391 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003863/0.1001, allocations: 0.6335 MB / 446.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.28e-05/0.1001, allocations: 11.89 kB / 446.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.1002, allocations: 44.38 kB / 446.4 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.1004, allocations: 292.2 kB / 446.7 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-06/0.1004, allocations: 4.375 kB / 446.7 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.1004, allocations: 4.375 kB / 446.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.1005, allocations: 61.61 kB / 446.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.1005, allocations: 0 / 446.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.1005, allocations: 0 / 446.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-06/0.1005, allocations: 0 / 446.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.579e-05/0.1006, allocations: 31.97 kB / 446.8 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.1009, allocations: 392.6 kB / 447.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1011, allocations: 54.53 kB / 447.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.1011, allocations: 16.86 kB / 447.2 MB, free: 0.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.1011, allocations: 4.078 kB / 447.2 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.388e-06/0.1011, allocations: 38.44 kB / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1011, allocations: 0 / 447.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004104/0.1016, allocations: 232 kB / 447.5 MB, free: 432 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.262e-05/0.1016, allocations: 55.34 kB / 447.6 MB, free: 364 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006263/0.1022, allocations: 0.8613 MB / 448.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1022, allocations: 25.7 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.1024, allocations: 220.1 kB / 448.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.1024, allocations: 23.64 kB / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.1024, allocations: 17.72 kB / 448.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1026, allocations: 362.8 kB / 449.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.1026, allocations: 27.97 kB / 449.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.1027, allocations: 23.98 kB / 449.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1028, allocations: 52.77 kB / 449.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1028, allocations: 0 / 449.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001908/0.103, allocations: 125.1 kB / 449.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.1031, allocations: 8 kB / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.1031, allocations: 0 / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.1031, allocations: 0 / 449.3 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.1031, allocations: 8 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1031, allocations: 4.25 kB / 449.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.1032, allocations: 7.922 kB / 449.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1032, allocations: 8 kB / 449.3 MB, free: 14.55 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 (5): * Single equations (assignments): 5 * 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.0001458/0.1034, allocations: 217.7 kB / 449.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.1034, allocations: 47.44 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1037, allocations: 145 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1037, allocations: 0 / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1037, allocations: 0 / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1037, allocations: 3.938 kB / 449.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.1042, allocations: 458.5 kB / 450.2 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1042, allocations: 4 kB / 450.2 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.1042, allocations: 15.98 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1042, allocations: 0 / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1043, allocations: 7.938 kB / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1043, allocations: 0 / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1043, allocations: 3.938 kB / 450.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1045, allocations: 215 kB / 450.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.1046, allocations: 108.6 kB / 450.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.1046, allocations: 3.938 kB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.1047, allocations: 11.98 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.1047, allocations: 4 kB / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1047, allocations: 0 / 450.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005182/0.1052, allocations: 0.6472 MB / 451.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1053, allocations: 3.938 kB / 451.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1055, allocations: 27.98 kB / 451.2 MB, free: 12.55 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 (5): * Single equations (assignments): 5 * 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.0007762/0.1063, allocations: 411.6 kB / 451.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.1064, allocations: 47.91 kB / 451.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.1065, allocations: 0 / 451.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.135e-05/0.1065, allocations: 31.98 kB / 451.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1069, allocations: 21.95 kB / 451.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008463/0.1077, allocations: 0.7796 MB / 452.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1081, allocations: 0.8319 MB / 453.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.805e-05/0.1081, allocations: 12.23 kB / 453.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.1082, allocations: 19.31 kB / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1082, allocations: 0 / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Templates: time 0.004689/0.1129, allocations: 1.489 MB / 454.8 MB, free: 8.953 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches