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.001539/0.001539, allocations: 116.5 kB / 17.08 MB, free: 5.996 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.001085/0.001085, allocations: 193.3 kB / 18.01 MB, free: 5.082 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.315/1.315, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.196/0.196, allocations: 43.52 MB / 314.8 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.001421/0.001421, allocations: 71.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09468, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.00291/0.09763, allocations: 1.566 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006148/0.09827, allocations: 311.6 kB / 0.4904 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.096e-05/0.09836, allocations: 0 / 0.4904 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.0989, allocations: 451.2 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.0993, allocations: 259.4 kB / 0.4911 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.09963, allocations: 103.8 kB / 0.4912 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.09989, allocations: 159.6 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1, allocations: 15.98 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1002, allocations: 107.8 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.1004, allocations: 207.6 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1004, allocations: 0 / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.519e-05/0.1005, allocations: 31.91 kB / 0.4917 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1006, allocations: 75.7 kB / 0.4917 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.1007, allocations: 99.05 kB / 0.4918 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.101, allocations: 247 kB / 0.4921 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.101, allocations: 0 / 0.4921 GB, free: 8.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.101, allocations: 4 kB / 0.4921 GB, free: 8.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.101, allocations: 0 / 0.4921 GB, free: 8.188 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000718/0.1018, allocations: 0.6258 MB / 0.4927 GB, free: 7.512 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1018, allocations: 15.89 kB / 0.4927 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.1019, allocations: 40.41 kB / 0.4927 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1022, allocations: 292.2 kB / 0.493 GB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1022, allocations: 4.375 kB / 0.493 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.1022, allocations: 4.359 kB / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1024, allocations: 61.8 kB / 0.4931 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.1024, allocations: 0 / 0.4931 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1024, allocations: 0 / 0.4931 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1024, allocations: 7.938 kB / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1025, allocations: 27.97 kB / 0.4931 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.103, allocations: 372.8 kB / 0.4935 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.1031, allocations: 42.56 kB / 0.4935 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.1032, allocations: 20.94 kB / 0.4935 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1032, allocations: 3.984 kB / 0.4935 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1032, allocations: 38.56 kB / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1032, allocations: 0 / 0.4936 GB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003427/0.1036, allocations: 125 kB / 0.4937 GB, free: 6.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.1036, allocations: 55.41 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007914/0.1044, allocations: 0.8496 MB / 0.4946 GB, free: 5.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1045, allocations: 25.7 kB / 0.4946 GB, free: 5.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1046, allocations: 208.1 kB / 0.4948 GB, free: 5.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1046, allocations: 15.73 kB / 0.4948 GB, free: 5.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.1047, allocations: 17.72 kB / 0.4948 GB, free: 5.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1048, allocations: 358.7 kB / 0.4952 GB, free: 4.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.151e-05/0.1049, allocations: 19.98 kB / 0.4952 GB, free: 4.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.105, allocations: 11.98 kB / 0.4952 GB, free: 4.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1051, allocations: 40.83 kB / 0.4952 GB, free: 4.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1051, allocations: 3.938 kB / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001829/0.1053, allocations: 101.1 kB / 0.4953 GB, free: 4.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1053, allocations: 4 kB / 0.4953 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1053, allocations: 4 kB / 0.4953 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1053, allocations: 0 / 0.4953 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.1054, allocations: 11.98 kB / 0.4953 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1054, allocations: 3.984 kB / 0.4954 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.1055, allocations: 4 kB / 0.4954 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1055, allocations: 0 / 0.4954 GB, free: 4.574 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 (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.0001755/0.1057, allocations: 221.6 kB / 0.4956 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.1058, allocations: 43.44 kB / 0.4956 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.106, allocations: 120.9 kB / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.106, allocations: 384 / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.106, allocations: 0 / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.106, allocations: 0 / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1063, allocations: 285.5 kB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1063, allocations: 3.984 kB / 0.496 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.1064, allocations: 19.92 kB / 0.496 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.1064, allocations: 0 / 0.496 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1064, allocations: 0 / 0.496 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1064, allocations: 4 kB / 0.496 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1064, allocations: 0 / 0.496 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1066, allocations: 198.9 kB / 0.4962 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.1067, allocations: 112.5 kB / 0.4963 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1067, allocations: 4 kB / 0.4963 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.1068, allocations: 0 / 0.4963 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1069, allocations: 11.98 kB / 0.4963 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1069, allocations: 0 / 0.4963 GB, free: 3.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005739/0.1074, allocations: 0.6433 MB / 0.497 GB, free: 2.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1075, allocations: 0 / 0.497 GB, free: 2.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1077, allocations: 16 kB / 0.497 GB, free: 2.809 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 (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.0007908/0.1085, allocations: 357.3 kB / 0.4973 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1087, allocations: 39.91 kB / 0.4974 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1087, allocations: 0 / 0.4974 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.58e-05/0.1088, allocations: 19.92 kB / 0.4974 GB, free: 2.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.1092, allocations: 25.83 kB / 0.4974 GB, free: 2.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1102, allocations: 0.8045 MB / 0.4982 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1106, allocations: 0.8143 MB / 0.499 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.1106, allocations: 15.38 kB / 0.499 GB, free: 0.707 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1106, allocations: 0 / 0.499 GB, free: 0.707 MB / 382.1 MB Notification: Performance of Templates: time 0.006226/0.1168, allocations: 3.469 MB / 0.5024 GB, free: 13.24 MB / 398.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 -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